changed the categories element into a span, so the 'related to' element lines beautifully in

This commit is contained in:
mb@mb 2018-04-12 00:08:55 +02:00
parent 1198bafcef
commit 3659e8a7b0

View File

@ -48,11 +48,11 @@
<time class="dt-published" datetime="{{article.date}}"></time> <time class="dt-published" datetime="{{article.date}}"></time>
<a class="u-url" href="{{article.url}}"></a> <a class="u-url" href="{{article.url}}"></a>
{% if article.category %} {% if article.category %}
<div class="categories"> <span class="categories">
<span itemprop="articleSection"> <span itemprop="articleSection">
<a href="{{ article.category.url }}" rel="category">{{ article.category }}</a> <a href="{{ article.category.url }}" rel="category">{{ article.category }}</a>
</span> </span>
</div> </span>
{% endif %} {% endif %}
{% if article.translations %} {% if article.translations %}
<span class="article-translation"> <span class="article-translation">