all files count, zero tag count not display
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6dc8abd6b3
commit
347dcec3bc
3 changed files with 3 additions and 3 deletions
|
@ -25,4 +25,4 @@ Main themes are spreaded by categories. Each file may have tags what can filter
|
||||||
{% for file in lastFiles %}
|
{% for file in lastFiles %}
|
||||||
{{ text_url(lang, file) }} {% endfor %} {% endif %}
|
{{ text_url(lang, file) }} {% endfor %} {% endif %}
|
||||||
|
|
||||||
=> /en/f all texts
|
=> /en/f all texts ({{ tree.Files|length }})
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% macro category_url(lang, path, category, count) export %}=> /{{ lang }}/f/{{ path }} 🌿 {{ category }}{% if count %} ({{ count }}){% endif %} {% endmacro %}
|
{% macro category_url(lang, path, category, count) export %}=> /{{ lang }}/f/{{ path }} 🌿 {{ category }}{% if count %} ({{ count }}){% endif %} {% endmacro %}
|
||||||
|
|
||||||
{% macro tag_url(lang, tag, count) export %}=> /{{ lang }}/t/{{ tag }} 🏷 {{ tag }} ({{ count }}) {% endmacro %}
|
{% macro tag_url(lang, tag, count) export %}=> /{{ lang }}/t/{{ tag }} 🏷 {{ tag }}{% if count %} ({{ count }}){% endif %} {% endmacro %}
|
||||||
|
|
||||||
{% macro text_url(lang, file) export %}=> /{{ lang }}/f/{{ file.CategoriesAsUrl() }}/{{ file.Id }}/{{ file.GmiName() }} ✒ {{ file.Description }} ({{ file.Created }}) {% endmacro %}
|
{% macro text_url(lang, file) export %}=> /{{ lang }}/f/{{ file.CategoriesAsUrl() }}/{{ file.Id }}/{{ file.GmiName() }} ✒ {{ file.Description }} ({{ file.Created }}) {% endmacro %}
|
||||||
|
|
|
@ -25,4 +25,4 @@ Pagrindėnės temas paskėrstītas par kateguorėjės. Kuožnos fails gal turie
|
||||||
{% for file in lastFiles %}
|
{% for file in lastFiles %}
|
||||||
{{ text_url(lang, file) }} {% endfor %} {% endif %}
|
{{ text_url(lang, file) }} {% endfor %} {% endif %}
|
||||||
|
|
||||||
=> /sgs/f vėsė straipsnē
|
=> /sgs/f vėsė straipsnē ({{ tree.Files|length }})
|
||||||
|
|
Loading…
Reference in a new issue