diff options
| author | soaos <soaos@soaos.dev> | 2025-11-21 21:14:12 -0500 |
|---|---|---|
| committer | soaos <soaos@soaos.dev> | 2025-11-21 21:14:12 -0500 |
| commit | ba76e77d935998e4b128053dcc61d2ed4884cdda (patch) | |
| tree | 5464dccd475404b509f048f4525193a8ff36a715 /templates | |
| parent | 6e3a7252608197b6571a56c9b07be09f254e8bae (diff) | |
zola migration
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 95 | ||||
| -rw-r--r-- | templates/blog.html | 38 | ||||
| -rw-r--r-- | templates/heaven.html | 29 | ||||
| -rw-r--r-- | templates/hell.html | 22 | ||||
| -rw-r--r-- | templates/index.html | 2 | ||||
| -rw-r--r-- | templates/macros.html | 3 | ||||
| -rw-r--r-- | templates/page.html | 2 | ||||
| -rw-r--r-- | templates/post.html | 19 | ||||
| -rw-r--r-- | templates/section.html | 2 | ||||
| -rw-r--r-- | templates/shortcodes/soaosed.html | 3 | ||||
| -rw-r--r-- | templates/shortcodes/subtree.html | 8 | ||||
| -rw-r--r-- | templates/shortcodes/title_bar.html | 8 | ||||
| -rw-r--r-- | templates/shortcodes/tree_view.html | 5 | ||||
| -rw-r--r-- | templates/shortcodes/treelink.html | 8 | ||||
| -rw-r--r-- | templates/shortcodes/window.html | 3 | ||||
| -rw-r--r-- | templates/shortcodes/window_body.html | 1 |
16 files changed, 248 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..7af29b7 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,95 @@ +{% import "macros.html" as macros %} +<!doctype html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <title>soaos</title> + <link rel="icon" href="favicon.png" /> + <link + rel="preload" + href="/assets/UnifontExMono.woff2" + as="font" + type="font/woff2" + /> + <link rel="stylesheet" href="/98.css" /> + <link rel="stylesheet" href="/style.css" /> + <meta charset="UTF-8" /> + </head> + <body> + <header> + <div class="window"> + <div class="title-bar"> + <div class="title-bar-text">𐂂 Badass header</div> + </div> + <div class="window-body centered"> + <h1 class="flip" data-title="𐂂🌲🌲🌲 soaos 🌲🌲🌲𐂂"> + <span class="hidden-selectable">𐂂🌲🌲🌲 soaos 🌲🌲🌲𐂂</span> + </h1> + </div> + </div> + </header> + <main>{% block content %} {% endblock content %}</main> + <footer class="window"> + <div class="title-bar"> + <div class="title-bar-text">🪪 Badges</div> + </div> + <div class="window-body"> + <ul id="badge-grid" class="no-bullets"> + <li> + <img + src="/assets/badges/javascript.png" + alt="Javascript-Free Page" + /> + </li> + <li> + <a href="https://lynx.browser.org/" target="_blank" + ><img src="/assets/badges/lynx.gif" alt="Lynx Compatible" + /></a> + </li> + <li> + <a href="https://www.debian.org/" target="_blank" + ><img + src="/assets/badges/powered-by-debian.gif" + alt="Powered by Debian" + /></a> + </li> + <li> + <a href="/hell" + ><img + class="evil-box" + src="/assets/badges/go2hell.gif" + alt="Go 2 Hell Now!" + /></a> + </li> + <li> + <a + href="/assets/badges/soaos.png" + download + data-tooltip="🦌 - Link to me on your site!" + ><img src="/assets/badges/soaos.png" alt="soaos.dev" + /></a> + </li> + <li> + <img src="/assets/badges/cookies.png" alt="Cookie-Free Page" /> + </li> + </ul> + </div> + <div class="status-bar"> + <p data-tooltip="🦌 -<3" class="status-bar-field"> + <span class="red-on-white">█🍁█</span> + </p> + <p class="status-bar-field"> + <a href="https://evilr.ing/soaos/previous" class="evil">⛧</a> + <a href="https://evilr.ing" class="evil">EVILRING</a> + <a href="https://evilr.ing/soaos/next" class="evil">⛤</a> + </p> + <p class="status-bar-field"> + <span class="hidden">Built at: </span>{{ now() }} + </p> + <p class="status-bar-field"> + <a href="https://soaos.dev" class="flip" data-title="soaos"><span class="hidden-selectable">soaos<span/></a> + </p> + </div> + </footer> + </body> +</html> diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..f659571 --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,38 @@ +{% extends "base.html" %} {% block content %} +<div class="window"> + <div class="title-bar"> + <div class="title-bar-text">📖 Blog</div> + <div class="title-bar-controls"> + <a href="/"><button aria-label="Close"></button></a> + </div> + </div> + <div class="window-body"> + <p> + Welcome to my blog! This is where I'll post longer content about stuff I'm + working on. I'm working out some channels for posting day-to-day short + form shit too so keep an eye out for that. + </p> + <h2>Latest Posts</h2> + <div class="sunken-panel"> + <ul class="tree-view" style="height: 8rem; overflow-y: scroll"> + {% set current_year = now() | date(format="%Y") | int %} {% for i in + range(start=0, end=current_year - 2024) %} + <li> + <details open> + <summary><b>{{current_year - i}}</b></summary> + <ul> + {% for post in section.pages %} {% if post.year == current_year - + i %} + <li> + <a href="{{post.permalink}}">{{post.title}}</a> - {{post.date}} + </li> + {% endif %} {% endfor %} + </ul> + </details> + </li> + {% endfor %} + </ul> + </div> + </div> +</div> +{% endblock content %} diff --git a/templates/heaven.html b/templates/heaven.html new file mode 100644 index 0000000..93a86ac --- /dev/null +++ b/templates/heaven.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> + +<html lang="en"> + +<head> + <title>heaven</title> + <link rel="stylesheet" href="/style.css"> + <link rel="stylesheet" href="/heaven/heaven.css"> + <meta charset="UTF-8"> +</head> + +<body> + <div id="heavenly-host"></div> + <div class="centered"> + <details class="holy"> + <summary>🕊🕊🕊 + (please enable autoplay to hear music lol)</summary> + <audio autoplay loop controls> + <source src="/heaven/everytime_we_touch_nightcore.ogg"> + </audio> + </details> + <h1 class="holy">😇 GOD BLESS YOU FRIEND... YOU ARE IN HEAVEN! 😇</h1> + <div class="huge holy section"> + YOU ARE LOVED <span style="color: var(--red);">💖</span><span style="color: var(--red);">🌹</span> + </div> +</body> + +</html> + diff --git a/templates/hell.html b/templates/hell.html new file mode 100644 index 0000000..d799db3 --- /dev/null +++ b/templates/hell.html @@ -0,0 +1,22 @@ +<!doctype html> + +<html lang="en"> + <head> + <title>hell</title> + <link rel="icon" href="/hell/smallfire.gif" /> + <link + rel="preload" + href="/assets/UnifontExMono.woff2" + as="font" + type="font/woff2" + /> + <link rel="stylesheet" href="/style.css" /> + <link rel="stylesheet" href="/hell.css" /> + <meta charset="UTF-8" /> + </head> + + <body> + <massive-fucking-background-flame></massive-fucking-background-flame> + {{ section.content | safe }} + </body> +</html> diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..0bf66d0 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,2 @@ +{% extends "base.html" %} {% block content %} {{ section.content | safe }} {% +endblock content %} diff --git a/templates/macros.html b/templates/macros.html new file mode 100644 index 0000000..eae30fe --- /dev/null +++ b/templates/macros.html @@ -0,0 +1,3 @@ +{% macro post_list() %} {% for post in section.pages %} +<a href="{{ post.permalink }}">{{ post.title }}</a> +{% endfor %} {% endmacro input %}
\ No newline at end of file diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..4cd271b --- /dev/null +++ b/templates/page.html @@ -0,0 +1,2 @@ +{% extends "base.html" %} {% block content %} {{ page.content | safe }} {% +endblock content %} diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..794c715 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} {% block content %} + +<div class="window"> + <div class="title-bar"> + <b>📰 Post: {{ page.title }}</b> + <div class="title-bar-controls"> + <button + aria-label="Help" + data-tooltip="Posted {{ page.date }}
{{ page.word_count }} words ({{ page.reading_time }} minutes)" + ></button> + <a href="../"><button aria-label="Close"></button></a> + </div> + </div> + <div class="window-body"> + <h1>{{ page.title }}</h1> + <article>{{ page.content | safe}}</article> + </div> +</div> +{% endblock content %} diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..0bf66d0 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,2 @@ +{% extends "base.html" %} {% block content %} {{ section.content | safe }} {% +endblock content %} diff --git a/templates/shortcodes/soaosed.html b/templates/shortcodes/soaosed.html new file mode 100644 index 0000000..c5ae639 --- /dev/null +++ b/templates/shortcodes/soaosed.html @@ -0,0 +1,3 @@ +<span class="flip" data-title="{{ body }}" + ><span class="hidden-selectable">{{ body }}</span></span +>
\ No newline at end of file diff --git a/templates/shortcodes/subtree.html b/templates/shortcodes/subtree.html new file mode 100644 index 0000000..2246718 --- /dev/null +++ b/templates/shortcodes/subtree.html @@ -0,0 +1,8 @@ +<li> + <details {% if open %}open{% endif %}> + <summary><b>{{ name | safe }}</b></summary> + <ul> + {{ body | markdown | safe }} + </ul> + </details> +</li>
\ No newline at end of file diff --git a/templates/shortcodes/title_bar.html b/templates/shortcodes/title_bar.html new file mode 100644 index 0000000..facc6fb --- /dev/null +++ b/templates/shortcodes/title_bar.html @@ -0,0 +1,8 @@ +<div class="title-bar"> + <div class="title-bar-text">{{ body | safe }}</div> + <div class="title-bar-controls"> + {% if close %} + <a href="{{ close }}"><button aria-label="Close"></button></a> + {% endif %} + </div> +</div> diff --git a/templates/shortcodes/tree_view.html b/templates/shortcodes/tree_view.html new file mode 100644 index 0000000..e8de782 --- /dev/null +++ b/templates/shortcodes/tree_view.html @@ -0,0 +1,5 @@ +<div class="sunken-panel"> + <ul class="tree-view" {% if height %} style="height: {{height}}; overflow-y: scroll" {% endif %} > + {{ body | markdown | safe }} + </ul> +</div> diff --git a/templates/shortcodes/treelink.html b/templates/shortcodes/treelink.html new file mode 100644 index 0000000..ff80fdc --- /dev/null +++ b/templates/shortcodes/treelink.html @@ -0,0 +1,8 @@ +<li> + <a href="{{ url }}" {% if blank %} target="_blank" {% endif %} {% if rel %} rel="{{ rel }}" {% endif %}>{{ text }}</a> + {% if wip %} + <span {% if wip_tooltip %}data-tooltip="{{ wip_tooltip }}" {% endif %}> + <span class="under-construction unselectable">⚠</span> + </span> + {% endif %} +</li>
\ No newline at end of file diff --git a/templates/shortcodes/window.html b/templates/shortcodes/window.html new file mode 100644 index 0000000..8abddbe --- /dev/null +++ b/templates/shortcodes/window.html @@ -0,0 +1,3 @@ +<div class="window"> +{{ body | safe }} +</div> diff --git a/templates/shortcodes/window_body.html b/templates/shortcodes/window_body.html new file mode 100644 index 0000000..f7c84a7 --- /dev/null +++ b/templates/shortcodes/window_body.html @@ -0,0 +1 @@ +<div class="window-body">{{ body | markdown | safe }}</div> |
