added tags
Added tags container to post template
This commit is contained in:
parent
193d830d87
commit
77bc084af0
1 changed files with 9 additions and 4 deletions
|
|
@ -9,7 +9,12 @@ layout: base
|
|||
<h2>{{ title }}</h2>
|
||||
<time>{{ date | dateFilter }}</time>
|
||||
{{ content | safe }}
|
||||
{% for tag in tags %} {% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
|
||||
<div class="tags--container">
|
||||
{% for tag in tags %}
|
||||
{% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
|
||||
<div class="tag">
|
||||
<a href="{{ tagUrl | url }}">{{ tag }}</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</article>
|
||||
Loading…
Reference in a new issue