Browse Source

fixed error & further adding of h-card entry

transformations
rra 7 years ago
parent
commit
78fdc47f9f
  1. 2
      themes/varia/templates/article.html
  2. 4
      themes/varia/templates/base.html

2
themes/varia/templates/article.html

@ -42,6 +42,8 @@
{% endif %} {% endif %}
</div> </div>
<div class="post-info"> <div class="post-info">
<a rel="author" class="p-author h-card" href="{{article.url}}">{{article.author}}</a>
<time class="dt-published">{{article.date| strftime('%d %B %Y')}}</time>
{% if article.category %} {% if article.category %}
<div class="categories"> <div class="categories">
<span itemprop="articleSection"> <span itemprop="articleSection">

4
themes/varia/templates/base.html

@ -17,9 +17,9 @@
<div id="translation"> <div id="translation">
{% if I18N_SUBSITES %} {% if I18N_SUBSITES %}
{% for lang, url in I18N_SUBSITES.items() %} {% for lang, url in I18N_SUBSITES.items() %}
{% if lang == 'nl' %}<li>{% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/">{{ lang }}</a></li> {% if lang == 'nl' %}<li {% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/">{{ lang }}</a></li>
{% endif %} {% endif %}
{% if lang == 'en' %}<li>{% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/{{ lang }}/">{{ lang }}</a></li> {% if lang == 'en' %}<li{% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/{{ lang }}/">{{ lang }}</a></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}

Loading…
Cancel
Save