added tags functionality
This commit is contained in:
@@ -5,5 +5,10 @@
|
||||
<p class="date">{{ page.date }}</p>
|
||||
<div class="post-body">
|
||||
{{ page.html|safe }} </div>
|
||||
{% for t in page.tags %}
|
||||
<a href="{{ url_for('tag', tag_name=t) }}">{{ t }}</a>{% if not loop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
</article>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user