add clear tags button
This commit is contained in:
parent
17963269f3
commit
757e7fb21a
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@
|
||||||
{% let tags = posts|collect_tags %}<!-- prettier-br -->
|
{% let tags = posts|collect_tags %}<!-- prettier-br -->
|
||||||
{% if !tags.is_empty() %}
|
{% if !tags.is_empty() %}
|
||||||
<h2>tags</h2>
|
<h2>tags</h2>
|
||||||
|
<b><a href="/">clear tags</a></b>
|
||||||
|
<br />
|
||||||
{% endif %}<!-- prettier-br -->
|
{% endif %}<!-- prettier-br -->
|
||||||
{% for tag in tags %}
|
{% for tag in tags %}
|
||||||
<a href="/?tag={{ tag.0 }}" title="view all posts with this tag">{{ tag.0 }}</a>
|
<a href="/?tag={{ tag.0 }}" title="view all posts with this tag">{{ tag.0 }}</a>
|
||||||
|
|
Loading…
Reference in a new issue