Browse Source

Tag pl-fr is not dislayed on article and on tag cloud

master
Yorick Barbanneau 9 months ago
parent
commit
1cc87fa90d
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      templates/article.html
  2. 1
    1
      templates/tags.html

+ 1
- 1
templates/article.html View File

@@ -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 %}


+ 1
- 1
templates/tags.html View File

@@ -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…
Cancel
Save