add blog sidebar
This commit is contained in:
parent
24e6abb811
commit
2e006c00b2
1 changed files with 8 additions and 0 deletions
8
_includes/blog_sidebar.njk
Normal file
8
_includes/blog_sidebar.njk
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<div class="tag-list-wrapper box">
|
||||
<h2>tags</h2>
|
||||
<ul class="tag-list">
|
||||
{% for tag, posts in collections | exclude_collections("reviews", "all") %}
|
||||
<li class="tag-item"><p>{{ tag | i18n }} ({{ posts | i18n_filter | length }})</p></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
Loading…
Add table
Reference in a new issue