From d8995902414f2d2689b0bbdc6651730b1fe9bd31 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Wed, 17 Dec 2025 23:31:39 +0100 Subject: moved blog generation to separate folder --- templates/acknowledgement.html.j2 | 19 -------------- templates/base.html.j2 | 50 ----------------------------------- templates/blogpost.html.j2 | 30 --------------------- templates/blogpost_sub.html.j2 | 10 ------- templates/feed.xml.j2 | 20 -------------- templates/index.html.j2 | 18 ------------- templates/sidebar.html.j2 | 55 --------------------------------------- templates/tag.html.j2 | 18 ------------- templates/tags.html.j2 | 8 ------ 9 files changed, 228 deletions(-) delete mode 100644 templates/acknowledgement.html.j2 delete mode 100644 templates/base.html.j2 delete mode 100644 templates/blogpost.html.j2 delete mode 100644 templates/blogpost_sub.html.j2 delete mode 100644 templates/feed.xml.j2 delete mode 100644 templates/index.html.j2 delete mode 100644 templates/sidebar.html.j2 delete mode 100644 templates/tag.html.j2 delete mode 100644 templates/tags.html.j2 (limited to 'templates') diff --git a/templates/acknowledgement.html.j2 b/templates/acknowledgement.html.j2 deleted file mode 100644 index 2c11f76..0000000 --- a/templates/acknowledgement.html.j2 +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "base.html.j2" %} -{% block page_title %}Acknowledgement {{ super() }}{% endblock %} -{% block page_title_short %}Acknowledgement{% endblock %} -{% block content %} -

Acknowledgement

-

Thank you for everyone, who made this blog possible, like...
-
-Marcsello who was kind enough to share his blog source with the world, so I could steal get inspired by it
-David Moore for the ascii art tree
-Bootstrap for the awesome CSS library and dmhendricks for the grid only extraction
-Jinja for the intuitive templating language
-Marko for the extensible MD converter
-Jetbrains for their amazing font which I use literally everywhere
-terminal.sexy for the cool terminal color template
-iconify for all the icons
-Isotropic for their hex to css filter converter
-
-... and last but not least, You dear Reader!

-{% endblock %} \ No newline at end of file diff --git a/templates/base.html.j2 b/templates/base.html.j2 deleted file mode 100644 index fa1f2d8..0000000 --- a/templates/base.html.j2 +++ /dev/null @@ -1,50 +0,0 @@ - - - - - {% block page_title %}{{ site.blog_name }}{% endblock %} - - - - - - - - - - -
- -
-
- - diff --git a/templates/blogpost.html.j2 b/templates/blogpost.html.j2 deleted file mode 100644 index 7375ee4..0000000 --- a/templates/blogpost.html.j2 +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "base.html.j2" %} -{% block page_title %}{{ post.title() }} {{ super() }}{% endblock %} -{% block page_title_short %}{{ post.title() }}{% endblock %} -{% block content %} -

{{ post.title() }}

-

{{ post.get_prompt("ls tags/") }} -
-{{ post.get_tags() }}

-
-

{{ post.get_prompt("stat -c %.10w content") }} -
-{{ post.get_publish_time() }}

-
-

{{ post.get_cat_prompt("content") }}

-
-{{ post.html|safe }} -
-

{{ post.get_prompt("find other_posts/ -type f -exec head {} +") }}

-{% for similar in post.get_similar_posts() %} - -
-

{{ similar.title() }}

-

{{ similar.intro }}

-
-
- -
-
-{% endfor %} -{% endblock %} diff --git a/templates/blogpost_sub.html.j2 b/templates/blogpost_sub.html.j2 deleted file mode 100644 index 5bf4d94..0000000 --- a/templates/blogpost_sub.html.j2 +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "base.html.j2" %} -{% block page_title %}{{ post.title() }} {{ super() }}{% endblock %} -{% block page_title_short %}{{ post.title() }}{% endblock %} -{% block content %} -

{{ post.get_cat_prompt(subpage_name) }}

-
-{{ subpage_html|safe }} -
-

{{ post.get_cat_prompt("") }}content

-{% endblock %} diff --git a/templates/feed.xml.j2 b/templates/feed.xml.j2 deleted file mode 100644 index 7e51092..0000000 --- a/templates/feed.xml.j2 +++ /dev/null @@ -1,20 +0,0 @@ - - - - @yggdrasil - https://blog.wazul.moe/feed.xml - The chronicle of my works and learnings - en - {{ build_date }} - {% for post in posts %} - - {{ post.title() }} - {{ post.get_link() }} - {{ post.intro }} - {{ post.get_link() }} - contact@wazul.moe - {{ post.get_publish_time_rfc2822() }} - - {% endfor %} - - \ No newline at end of file diff --git a/templates/index.html.j2 b/templates/index.html.j2 deleted file mode 100644 index 09ce8ad..0000000 --- a/templates/index.html.j2 +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "base.html.j2" %} -{% block content %} -{% for post in posts %} -{% if loop.first %} -

{{ post.get_index_prompt() }}

-{% else %} -

{{ post.get_index_prompt() }}

-{% endif %} - - -

{{ post.title() }}

-

{{ post.intro }}

-
-{% if not loop.last %} -
-{% endif %} -{% endfor %} -{% endblock %} diff --git a/templates/sidebar.html.j2 b/templates/sidebar.html.j2 deleted file mode 100644 index 7390145..0000000 --- a/templates/sidebar.html.j2 +++ /dev/null @@ -1,55 +0,0 @@ - -

About me

-

I'm a game developer by occupation and a computer enthusiast by hobby. -I love learning about and working on anything related to computers or geek stuff, -although I consider myself only a passionate greenhorn. -Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself.

-
-

btw I use arch

- -
-

My other thingies

- - -Website - - - -Mastodon - - - -Git repositories - -

Top tags

-

ls ~/tags/

-

{% for tag in site.top_tags %}{{ tag }}/{% if not loop.last %} {% endif %}{% endfor %}

-

I want different colors

-

ls ~/themes/ -A

- - - sweet-celestial.sh - - - - luna-eclipsed.sh - - - - .pinky-swear.sh - -

Never miss a post

- - -RSS feed - -

Contact me at

- - -contact@wazul.moe - -

especially if you find some typos or bugs on the page

-

Thank you

-

for everyone who made this blog possible

-

How It's Made

-

This blog is open source, check it out!

diff --git a/templates/tag.html.j2 b/templates/tag.html.j2 deleted file mode 100644 index 093f41b..0000000 --- a/templates/tag.html.j2 +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "base.html.j2" %} -{% block page_title %}tags/{{ tag }} {{ super() }}{% endblock %} -{% block page_title_short %}tags/{{ tag }}{% endblock %} -{% block content %} -

tags/{{ tag }}/

-

{{ config.get_tag_prompt(tag, "find other_posts/ -type f -exec head {} +") }}

-{% for post in posts %} - -
-

{{ post.title() }}

-

{{ post.intro }}

-
-
- -
-
-{% endfor %} -{% endblock %} diff --git a/templates/tags.html.j2 b/templates/tags.html.j2 deleted file mode 100644 index 8812559..0000000 --- a/templates/tags.html.j2 +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html.j2" %} -{% block page_title %}tags/ {{ super() }}{% endblock %} -{% block page_title_short %}tags/{% endblock %} -{% block content %} -

tags/

-

{{ config.get_tag_prompt("", "ls .") }}

-

{{ tags_ls }}

-{% endblock %} -- cgit v1.2.3-70-g09d2