Align tags

This commit is contained in:
Zach Leatherman
2021-03-19 20:38:32 -05:00
parent c0dd1fc8fe
commit 6e3282da5c
2 changed files with 5 additions and 4 deletions

View File

@ -5,9 +5,8 @@ templateClass: tmpl-post
<h1>{{ title }}</h1>
<time datetime="{{ page.date | htmlDateString }}">{{ page.date | readableDate }}</time>
{%- for tag in tags | filterTagList %}
{%- set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
{%- for tag in tags | filterTagList -%}
{%- set tagUrl %}/tags/{{ tag | slug }}/{% endset -%}
<a href="{{ tagUrl | url }}" class="post-tag">{{ tag }}</a>
{%- endfor %}