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}}