removing tags from blog but keeping template
This commit is contained in:
parent
424dc2c302
commit
9801eba6ba
3 changed files with 10 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
title: hello
|
||||
title: Hello
|
||||
author: pagwin
|
||||
tags: [hello, this is a list]
|
||||
date: 2024-8-1
|
||||
|
|
|
@ -1,14 +1,6 @@
|
|||
<div class="info">
|
||||
{{{date}}}
|
||||
</div>
|
||||
{{#has_tags}}
|
||||
<div class="info">
|
||||
Tags:
|
||||
{{#tags}}
|
||||
<a href="/tags/{{{.}}}/">{{{.}}}</a>
|
||||
{{/tags}}
|
||||
</div>
|
||||
{{/has_tags}}
|
||||
<hr>
|
||||
</hr>
|
||||
{{{content}}}
|
||||
|
|
9
templates/tags.html
Normal file
9
templates/tags.html
Normal 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}}
|
Loading…
Reference in a new issue