update theme
This commit is contained in:
parent
4dbd8084f0
commit
ffad9e9871
4 changed files with 33 additions and 8 deletions
9
themes/cmd/layout/includes/tags.swig
Normal file
9
themes/cmd/layout/includes/tags.swig
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% macro PostTags(post) %}
|
||||
<div>
|
||||
{% for k in Object.keys(post.tags.data) %}
|
||||
<a href="{{ url_for(post.tags.data[k].path)}}"><div class="chip">
|
||||
{{post.tags.data[k].name}}
|
||||
</div></a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endmacro %}
|
Loading…
Add table
Add a link
Reference in a new issue