Commit 1588d44a authored by Vasyl Bodnaruk's avatar Vasyl Bodnaruk

add list of tags to single news view

parent de18ae78
...@@ -37,6 +37,11 @@ ...@@ -37,6 +37,11 @@
<h5 class="new-content-title">Publish date: {{ news.publish_date }}</h5> <h5 class="new-content-title">Publish date: {{ news.publish_date }}</h5>
<h5 class="new-content-title">Source: <a href="{{ news.url }}">{{ news.url }}</a></h5> <h5 class="new-content-title">Source: <a href="{{ news.url }}">{{ news.url }}</a></h5>
</div> </div>
<div>
{% for i in news.get_tags %}
<span class="btn btn-info">{{ i.name }}</span>
{% endfor %}
</div>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment