fixed error & further adding of h-card entry

This commit is contained in:
rra 2018-03-08 18:20:48 +01:00
parent 8ca9518d6f
commit 78fdc47f9f
2 changed files with 4 additions and 2 deletions

View File

@ -42,6 +42,8 @@
{% endif %}
</div>
<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 %}
<div class="categories">
<span itemprop="articleSection">

View File

@ -17,9 +17,9 @@
<div id="translation">
{% if I18N_SUBSITES %}
{% 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 %}
{% 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 %}
{% endfor %}
{% endif %}