Add tag support
This commit is contained in:
parent
ce10245c51
commit
ae440be40c
24 changed files with 475 additions and 15 deletions
|
|
@ -17,5 +17,13 @@
|
|||
<div class="text">
|
||||
{{ post.text|raw }}
|
||||
</div>
|
||||
<div class="tags">
|
||||
<ul class="list">
|
||||
<p>More like this:</p>
|
||||
{% for tag in post.tags %}
|
||||
<li class="tag"><a href="/tags/{{tag.getUrlSafeTitle()}}">{{ tag.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul
|
||||
</div>
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue