Zrušení duplikátního odkazu v bloku

This commit is contained in:
Emil Miler
2020-01-12 17:51:10 +01:00
parent a46aeb6b66
commit 726644c1d8
3 changed files with 6 additions and 4 deletions

View File

@ -50,9 +50,8 @@
<img src="/temp.jpg" alt="Náhradní obrázek">
{% endif %}
{% set_global image_found = 0 %}
{% if page.title %}<h3>{{ page.title }}</h3>{% endif %}
</a>
{% if page.title %}<a href="{{ page.permalink }}"><h3>{{ page.title }}</h3></a>{% endif %}
{% if page.date %}<span class="date">{{ page.date | date(format="%d.%m.%Y") }}</span>{% endif %}
</article>

View File

@ -21,9 +21,8 @@
<img src="/temp.jpg" alt="Náhradní obrázek">
{% endif %}
{% set_global image_found = 0 %}
{% if page.title %}<h3>{{ page.title }}</h3>{% endif %}
</a>
{% if page.title %}<a href="{{ page.permalink }}"><h3>{{ page.title }}</h3></a>{% endif %}
{% if page.date %}<span class="date">{{ page.date | date(format="%d.%m.%Y") }}</span>{% endif %}
</article>