From 9801eba6ba039509a91e88940d3aa9cf6e1166db Mon Sep 17 00:00:00 2001 From: Pagwin Date: Fri, 25 Oct 2024 15:46:22 -0400 Subject: [PATCH] removing tags from blog but keeping template --- posts/hello.yaml | 2 +- templates/post.html | 8 -------- templates/tags.html | 9 +++++++++ 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 templates/tags.html diff --git a/posts/hello.yaml b/posts/hello.yaml index b680872..aeefbb0 100644 --- a/posts/hello.yaml +++ b/posts/hello.yaml @@ -1,4 +1,4 @@ -title: hello +title: Hello author: pagwin tags: [hello, this is a list] date: 2024-8-1 diff --git a/templates/post.html b/templates/post.html index 0c2ab04..316b9c6 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,14 +1,6 @@
{{{date}}}
-{{#has_tags}} -
- Tags: - {{#tags}} - {{{.}}} - {{/tags}} -
-{{/has_tags}}
{{{content}}} diff --git a/templates/tags.html b/templates/tags.html new file mode 100644 index 0000000..5cd7336 --- /dev/null +++ b/templates/tags.html @@ -0,0 +1,9 @@ +{{! keeping around in case I want tags list in future}} +{{#has_tags}} +
+ Tags: + {{#tags}} + {{{.}}} + {{/tags}} +
+{{/has_tags}}