Tag pl-fr is not dislayed on article and on tag cloud
This commit is contained in:
parent
7b2f7a57b9
commit
1cc87fa90d
2 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@
|
|||
|
||||
{% if article.tags %}
|
||||
<aside class="post-tags">
|
||||
{% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag | escape }}</a>{% if not loop.last %}{% endif %}{% endfor %}
|
||||
{% for tag in article.tags if not tag=="pl-fr" %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag | escape }}</a>{% if not loop.last %}{% endif %}{% endfor %}
|
||||
</aside>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
{% set steps = (TAG_CLOUD_STEPS|default(5, true)) - 1 %}
|
||||
<article class="post">
|
||||
<div class="inner tag-cloud">
|
||||
{% for tag, articles in tags|sort %}
|
||||
{% for tag, articles in tags|sort if not tag=="pl-fr" %}
|
||||
{% set count = articles|count %}
|
||||
<div class="tag tag-weight-{{ (count/(max_count/steps))|int + 1 }}">
|
||||
<a href="{{ SITEURL }}/{{ tag.url }}" title="{{ count }} article(s) tagged '{{ tag }}'">{{ tag }}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue