mirror of
https://github.com/welpo/tabi.git
synced 2026-02-16 08:07:19 +01:00
add number_of_posts declaration
This commit is contained in:
parent
0ef39d7f73
commit
2d83a081a7
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
<ul class="tags">
|
||||
{%- for term in terms -%}
|
||||
<li class="tags-item">
|
||||
{%- set number_of_posts = term.pages | length -%}
|
||||
{% if config.extra.compact_tags %}
|
||||
{# Shows the number of posts per tag as a superscript #}
|
||||
<a href="{{ term.permalink | safe }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue