From 09c2b6de63a6ff35348fcb2c2eb57b974f0a8a52 Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Wed, 2 Apr 2025 21:59:20 -0400 Subject: automate project structure --- mod/web/blog/templates/404.html | 9 ---- mod/web/blog/templates/base.html | 88 --------------------------------------- mod/web/blog/templates/index.html | 16 ------- mod/web/blog/templates/post.html | 14 ------- 4 files changed, 127 deletions(-) delete mode 100644 mod/web/blog/templates/404.html delete mode 100644 mod/web/blog/templates/base.html delete mode 100644 mod/web/blog/templates/index.html delete mode 100644 mod/web/blog/templates/post.html (limited to 'mod/web/blog/templates') diff --git a/mod/web/blog/templates/404.html b/mod/web/blog/templates/404.html deleted file mode 100644 index a4669df..0000000 --- a/mod/web/blog/templates/404.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - - Error 404! - - -404! -{% endblock content %} diff --git a/mod/web/blog/templates/base.html b/mod/web/blog/templates/base.html deleted file mode 100644 index 5a91df5..0000000 --- a/mod/web/blog/templates/base.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - {% block title %}4kb.net{% endblock title %} - - - -
- Kleidi Bujari <mail@4kb.net> - -
-
{% block content %} {% endblock %}
- - diff --git a/mod/web/blog/templates/index.html b/mod/web/blog/templates/index.html deleted file mode 100644 index 6e8a2af..0000000 --- a/mod/web/blog/templates/index.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "base.html" %} {% block content %} - -
- {% set section = get_section(path="posts/_index.md") %} - - - - {% endblock content %} -
diff --git a/mod/web/blog/templates/post.html b/mod/web/blog/templates/post.html deleted file mode 100644 index b819520..0000000 --- a/mod/web/blog/templates/post.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} - -{% block title%} - {{ page.title }} - {{ super() }} -{% endblock title %} - -{% block content %} - -

{{ page.title }}

-
- {{ page.content | safe }} -
- -{% endblock content %} -- cgit v1.3.1