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

master
Emil Miler 5 years ago
parent a46aeb6b66
commit 726644c1d8

@ -134,6 +134,10 @@ main {
overflow:hidden;
box-sizing:border-box;
&:hover {
color:$anchor-hover-color;
}
a {
color:$article-color;
}

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

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

Loading…
Cancel
Save