Browse Source

fixed error & further adding of h-card entry

master
rra 6 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 %}
</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">

4
themes/varia/templates/base.html

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

Loading…
Cancel
Save