diff options
| author | seth <[email protected]> | 2023-05-16 03:53:24 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-16 04:08:37 -0400 |
| commit | 681cd8c1cc2904c562f9a58db3cbb657d58fb552 (patch) | |
| tree | 9255f71e577fc82f079c16ff493f432ca5557284 /src/_includes | |
| parent | bf4df962be338c08ae41bed94b1d60b2930fca9f (diff) | |
feat: rewrite with astro
Diffstat (limited to 'src/_includes')
| -rw-r--r-- | src/_includes/components/footer.njk | 6 | ||||
| -rw-r--r-- | src/_includes/components/headerbar.njk | 9 | ||||
| -rw-r--r-- | src/_includes/components/postlist.njk | 17 | ||||
| -rw-r--r-- | src/_includes/layouts/base.njk | 17 | ||||
| -rw-r--r-- | src/_includes/layouts/index.njk | 193 | ||||
| -rw-r--r-- | src/_includes/layouts/page.njk | 7 |
6 files changed, 0 insertions, 249 deletions
diff --git a/src/_includes/components/footer.njk b/src/_includes/components/footer.njk deleted file mode 100644 index 2d88e70..0000000 --- a/src/_includes/components/footer.njk +++ /dev/null @@ -1,6 +0,0 @@ -<footer> - <div id="commitText"> - <a href="https://github.com/getchoo/getchoo.github.io">source</a> - commit: {{ gitRevision }} - </div> -</footer> diff --git a/src/_includes/components/headerbar.njk b/src/_includes/components/headerbar.njk deleted file mode 100644 index 0edc922..0000000 --- a/src/_includes/components/headerbar.njk +++ /dev/null @@ -1,9 +0,0 @@ -<div class="headerbar"> - <div id="links" class="flex gap-3"> - <button onclick="window.location.href='/'">home</button> - <button onclick="window.location.href='/blog'">blog</button> - <button onclick="window.location.href='https://github.com/getchoo'"> - github - </button> - </div> -</div> diff --git a/src/_includes/components/postlist.njk b/src/_includes/components/postlist.njk deleted file mode 100644 index f7d2b95..0000000 --- a/src/_includes/components/postlist.njk +++ /dev/null @@ -1,17 +0,0 @@ -<div> - <ul class="postList"> - {% for post in postList %} - <li> - <a href="{{ post.data.url }}">{{ post.data.title }}</a> - <time - class="post-date" - datetime="{{ post.data.date | date('DATETIME') }}" - > - {{ post.data.date | date('HUMAN_DATE') }} - </time> - </li> - {% else %} - <p>no posts yet! 🥸</p> - {% endfor %} - </ul> -</div> diff --git a/src/_includes/layouts/base.njk b/src/_includes/layouts/base.njk deleted file mode 100644 index 51f160b..0000000 --- a/src/_includes/layouts/base.njk +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="utf-8" /> - <meta http-equiv="X-UA-Compatible" content="IE=edge" /> - <title>{{ title }}</title> - <meta name="description" content="{{ description }}" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <link rel="stylesheet" href="/guzzle.css" /> - </head> - - <body> - {% block headerbar %} {% include "components/headerbar.njk" %} {% - endblock %} {{ content | safe }} {% block footer %} {% include - "components/footer.njk" %} {% endblock %} - </body> -</html> diff --git a/src/_includes/layouts/index.njk b/src/_includes/layouts/index.njk deleted file mode 100644 index b2373e4..0000000 --- a/src/_includes/layouts/index.njk +++ /dev/null @@ -1,193 +0,0 @@ ---- -layout: "layouts/base.njk" ---- - -<div class="container"> - <div class="content">{{ content | safe }}</div> - <div id="gifs"> - <div id="gif"> - <img - src="/imgs/gifs/legalize.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="legalize now!" - /> - <img - src="/imgs/gifs/acab.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="acab" - /> - <a href="https://github.com/sakecode"> - <!-- - Powered by NixOS © 2023 by Sake is licensed under (CC BY-NC-SA 4.0) - To view the source visit: https://github.com/sakecode/Sake-s-SVGs - To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ - --> - <img - src="/imgs/gifs/poweredbynix.svg" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="powered by fedora" - /> - </a> - <img - src="/imgs/gifs/capitalism.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="let's crush capitalism!" - /> - </div> - <div id="gif"> - <img - src="/imgs/gifs/anybrowser.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="best viewed with any browser" - /> - <img - src="/imgs/gifs/weezer.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="weezer fan" - /> - <a href="https://dnsense.pub/"> - <img - src="/imgs/gifs/steam.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="play with steam" - /> - </a> - <img - src="/imgs/gifs/vi.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="made with vi" - /> - <img - src="/imgs/gifs/pride.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="pride" - /> - <img - src="/imgs/gifs/imagine.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="imagination" - /> - </div> - <div id="gif"> - <img - src="/imgs/gifs/moz.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="mozilla is cool" - /> - <img - src="/imgs/gifs/free.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="completely free software" - /> - <img - src="/imgs/gifs/gimp.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="graphics by gimp" - /> - <img - src="/imgs/gifs/explorer.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="marijuana mind explorer" - /> - <img - src="/imgs/gifs/jsfree.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="javascript free" - /> - <img - src="/imgs/gifs/web3.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="keep the web free! say no to web3!" - /> - <img - src="/imgs/gifs/tired.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="tired" - /> - <img - src="/imgs/gifs/arnold.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="hey arnold!" - /> - <img - src="/imgs/gifs/bob.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="powered by bob" - /> - <img - src="/imgs/gifs/counterstrike.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="counter-strike player" - /> - <img - src="/imgs/gifs/chris.gif" - width="88" - height="31" - loading="lazy" - decoding="async" - alt="chris troll" - id="chris_gif" - /> - </div> - </div> -</div> diff --git a/src/_includes/layouts/page.njk b/src/_includes/layouts/page.njk deleted file mode 100644 index d355024..0000000 --- a/src/_includes/layouts/page.njk +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: layouts/base.njk ---- - -<div class="container"> - <div class="content" id="blogpost">{{ content | safe }}</div> -</div> |
