Browse Source

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

transformations
mb@mb 7 years ago
parent
commit
3659e8a7b0
  1. 4
      themes/varia/templates/article.html

4
themes/varia/templates/article.html

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

Loading…
Cancel
Save