removing tags from blog but keeping template

This commit is contained in:
Pagwin 2024-10-25 15:46:22 -04:00
parent 424dc2c302
commit 9801eba6ba
No known key found for this signature in database
GPG key ID: 81137023740CA260
3 changed files with 10 additions and 9 deletions

View file

@ -1,4 +1,4 @@
title: hello title: Hello
author: pagwin author: pagwin
tags: [hello, this is a list] tags: [hello, this is a list]
date: 2024-8-1 date: 2024-8-1

View file

@ -1,14 +1,6 @@
<div class="info"> <div class="info">
{{{date}}} {{{date}}}
</div> </div>
{{#has_tags}}
<div class="info">
Tags:
{{#tags}}
<a href="/tags/{{{.}}}/">{{{.}}}</a>
{{/tags}}
</div>
{{/has_tags}}
<hr> <hr>
</hr> </hr>
{{{content}}} {{{content}}}

9
templates/tags.html Normal file
View file

@ -0,0 +1,9 @@
{{! keeping around in case I want tags list in future}}
{{#has_tags}}
<div class="info">
Tags:
{{#tags}}
<a href="/tags/{{{.}}}/">{{{.}}}</a>
{{/tags}}
</div>
{{/has_tags}}