From 2e6a2cb20049bbdbf9489d65a3ca0f0a8dbbfbdd Mon Sep 17 00:00:00 2001 From: Pagwin Date: Sun, 22 Dec 2024 02:08:21 -0500 Subject: [PATCH] removed redundant templates and put header on homepage into header elem --- templates/archive.html | 2 -- templates/home.html | 8 +++++--- templates/posts.html | 11 ----------- templates/tags.html | 9 --------- 4 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 templates/archive.html delete mode 100644 templates/posts.html delete mode 100644 templates/tags.html diff --git a/templates/archive.html b/templates/archive.html deleted file mode 100644 index 05ffc76..0000000 --- a/templates/archive.html +++ /dev/null @@ -1,2 +0,0 @@ -My posts: -{{> templates/post-list.html }} diff --git a/templates/home.html b/templates/home.html index 76476b7..13449fd 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,7 +1,9 @@ -

Hi there, I'm Pagwin

-

I post here sometimes

+
+

Hi there, I'm Pagwin

+

I post here sometimes

+

-

Recent posts:

+

Posts:

{{#posts}}
diff --git a/templates/posts.html b/templates/posts.html deleted file mode 100644 index cc1a6cb..0000000 --- a/templates/posts.html +++ /dev/null @@ -1,11 +0,0 @@ -
- {{#posts}} -
-
{{title}}
-
-
-

{{summary}}

-
-
- {{/posts}} -
diff --git a/templates/tags.html b/templates/tags.html deleted file mode 100644 index 5cd7336..0000000 --- a/templates/tags.html +++ /dev/null @@ -1,9 +0,0 @@ -{{! keeping around in case I want tags list in future}} -{{#has_tags}} -
- Tags: - {{#tags}} - {{{.}}} - {{/tags}} -
-{{/has_tags}}