From f28c56ddd35ab468527eda2b116f300732938205 Mon Sep 17 00:00:00 2001 From: soaos Date: Fri, 3 Apr 2026 17:20:59 -0400 Subject: Initial Commit (Fresh Start) --- templates/about.html | 10 +++ templates/base.html | 115 ++++++++++++++++++++++++++++++++++ templates/blog.html | 37 +++++++++++ templates/heaven.html | 29 +++++++++ templates/hell.html | 22 +++++++ templates/index.html | 60 ++++++++++++++++++ templates/macros.html | 62 ++++++++++++++++++ templates/page.html | 2 + templates/post.html | 30 +++++++++ templates/section.html | 2 + templates/shortcodes/age.html | 1 + templates/shortcodes/album_list.html | 16 +++++ templates/shortcodes/soaosed.html | 3 + templates/shortcodes/subtree.html | 12 ++++ templates/shortcodes/title_bar.html | 8 +++ templates/shortcodes/tree_view.html | 5 ++ templates/shortcodes/treelink.html | 8 +++ templates/shortcodes/window.html | 3 + templates/shortcodes/window_body.html | 1 + 19 files changed, 426 insertions(+) create mode 100644 templates/about.html create mode 100644 templates/base.html create mode 100644 templates/blog.html create mode 100644 templates/heaven.html create mode 100644 templates/hell.html create mode 100644 templates/index.html create mode 100644 templates/macros.html create mode 100644 templates/page.html create mode 100644 templates/post.html create mode 100644 templates/section.html create mode 100644 templates/shortcodes/age.html create mode 100644 templates/shortcodes/album_list.html create mode 100644 templates/shortcodes/soaosed.html create mode 100644 templates/shortcodes/subtree.html create mode 100644 templates/shortcodes/title_bar.html create mode 100644 templates/shortcodes/tree_view.html create mode 100644 templates/shortcodes/treelink.html create mode 100644 templates/shortcodes/window.html create mode 100644 templates/shortcodes/window_body.html (limited to 'templates') diff --git a/templates/about.html b/templates/about.html new file mode 100644 index 0000000..613c944 --- /dev/null +++ b/templates/about.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% import "macros.html" as macros %} +{% block content %} + +{% set soaos = macros::soaosed(text="soaos") | trim %} +{{ macros::window(title="🦌 About Me", close="..") }} +{{ page.content | safe }} +{{ macros::endwindow() }} + +{% endblock content %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..2902d19 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,115 @@ +{% import "macros.html" as macros %} + + + + + soaos + + + + + + {% block headcontent %} {% endblock headcontent %} + + +
+
+
+
𐂂 Badass header
+
+
+

+ 𐂂🌲🌲🌲 soaos 🌲🌲🌲𐂂 +

+
+
+
+
{% block content %} {% endblock content %}
+ + + diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..e454299 --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} +{% block content %} +
+
+
📖 Blog
+
+ +
+
+
+

+ 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. +

+

Latest Posts

+
+
    + {% for year, posts in section.pages | group_by(attribute="year") %} +
  • +
    + {{ year }} +
      + {% for post in posts %} +
    • + {{post.title}} - {{post.date}} +
    • + {% endfor %} +
    +
    +
  • + {% endfor %} +
+
+
+
+{% endblock content %} \ No newline at end of file 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 @@ + + + + + + heaven + + + + + + +
+
+
+ 🕊🕊🕊 + (please enable autoplay to hear music lol) + +
+

😇 GOD BLESS YOU FRIEND... YOU ARE IN HEAVEN! 😇

+
+ YOU ARE LOVED 💖🌹 +
+ + + + 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 @@ + + + + + hell + + + + + + + + + + {{ section.content | safe }} + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..baee426 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,60 @@ +{% extends "base.html" %} +{% import "macros.html" as macros %} +{% block content %} + +{% set soaos = macros::soaosed(text="soaos") | trim %} +{% set Soaos = macros::soaosed(text="Soaos") | trim %} +{{macros::window(title="👤 Welcome to " ~ soaos ~ ".dev")}} +
+
+
+
+
+{{ macros::treeview(height="16rem")}} + +{{ macros::subtree(name="On this site", open=true) }} +{{ macros::treelink(text="📖 Blog", url="/blog") }} + +{{ macros::treelink(text="🦌 About Me", url="/about", wip=true, wip_tooltip="🦌 -honestly these things are redundant, +everything is under construction") }} +{{ macros::endsubtree() }} + +{{ macros::subtree(name=Soaos ~ ' Services', open=true) }} +{{ macros::treelink(text="🌱 Git Repositories", url="https://git.soaos.dev", blank=true, wip=true) }} +{{ macros::treelink(text="📺 Videos", url="https://tv.soaos.dev/c/soaosdev", blank=true) }} + + + +{{ macros::endsubtree() }} + +{{ macros::subtree(name="Find me on the Web", open=true) }} +{{ macros::treelink(text="📧 E-Mail: soaos@soaos.dev", url="mailto:soaos@soaos.dev", rel="me") }} +{{ macros::treelink(text="💬 Matrix: @soaos:matrix.soaos.dev", url="https://matrix.to/#/@soaos:matrix.soaos.dev", +rel="me") }} +{{ macros::treelink(text="☕ StatusCafe: soaos", url="https://status.cafe/users/soaos", blank=true, rel="me") }} +{{ macros::treelink(text="🐘 Mastodon: soaos@furry.engineer", url="http://soaos.dog", rel="me", blank=true) }} + + +{{ macros::endsubtree() }} + +{{macros::endtreeview()}} +{{macros::endwindow()}} + + +{% endblock content %} \ No newline at end of file diff --git a/templates/macros.html b/templates/macros.html new file mode 100644 index 0000000..5642fc2 --- /dev/null +++ b/templates/macros.html @@ -0,0 +1,62 @@ +{% macro window(title, close=false) %} +
+
+
{{title | safe}}
+
+ {% if close %} + + {% endif %} +
+
+
+{% endmacro window %} + +{% macro endwindow() %} +
+
+{% endmacro endwindow %} + + +{% macro soaosed(text) %} +{{ text }} +{% endmacro soaosed %} + +{% macro treeview(height="auto") %} +
+
    +{% endmacro treeview %} + +{% macro endtreeview() %} +
+
+{% endmacro endtreeview %} + +{% macro subtree(name, url="", open=false, blank=false) %} +
  • +
    + + {% if url %}{% else %}{% endif %} + {{ name | safe }} + {% if url %}{% else %}{% endif %} + +
      +{% endmacro subtree %} + +{% macro endsubtree() %} +
    +
    +
  • +{% endmacro endsubtree %} + +{% macro treelink(text, url="", blank=false, wip=false, wip_tooltip="") %} +
  • + {{ text | safe }} + {% if wip %} + + + + {% endif %} +
  • +{% endmacro treelink %} \ 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..ae884d5 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% block headcontent %} + + + + + + + + + +{% endblock headcontent %} +{% block content %} +
    +
    + 📰 Post: {{ page.title }} +
    + + +
    +
    +
    +

    {{ page.title }}

    +
    {{ page.content | safe}}
    +
    +
    +{% 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/age.html b/templates/shortcodes/age.html new file mode 100644 index 0000000..8af71ec --- /dev/null +++ b/templates/shortcodes/age.html @@ -0,0 +1 @@ +{{ now() | date(format='%Y') | int - 2002 }} \ No newline at end of file diff --git a/templates/shortcodes/album_list.html b/templates/shortcodes/album_list.html new file mode 100644 index 0000000..74439ca --- /dev/null +++ b/templates/shortcodes/album_list.html @@ -0,0 +1,16 @@ +{% import "macros.html" as macros %} +{% set data = load_data(path="data/albums.json") %} + +{{ macros::treeview(height="32rem") }} +{% for genre, albums in data.albums | group_by(attribute="genre") %} + +{{ macros::subtree(name=genre, open=false) }} +{% for album in albums %} + {{ macros::treelink(text=album.artist ~ " - " ~ album.name ~ `
    + `, + url="https://musicbrainz.org/release-group/" ~ album.release_group, blank=true) }} +{% endfor %} +{{ macros::endsubtree() }} + +{% endfor %} +{{ macros::endtreeview() }} 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 @@ +{{ body }} \ No newline at end of file diff --git a/templates/shortcodes/subtree.html b/templates/shortcodes/subtree.html new file mode 100644 index 0000000..09f29ce --- /dev/null +++ b/templates/shortcodes/subtree.html @@ -0,0 +1,12 @@ +
  • +
    + + {% if url %}{% else %}{% endif %} + {{ name | safe }} + {% if url %}{% else %}{% endif %} + +
      + {{ body | markdown | safe }} +
    +
    +
  • \ 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 @@ +
    +
    {{ body | safe }}
    +
    + {% if close %} + + {% endif %} +
    +
    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 @@ +
    +
      + {{ body | markdown | safe }} +
    +
    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 @@ +
  • + {{ text }} + {% if wip %} + + + + {% endif %} +
  • \ 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 @@ +
    +{{ body | safe }} +
    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 @@ +
    {{ body | markdown | safe }}
    -- cgit v1.3-2-g0d8e