view themes/tuxlite_tbs/templates/metadata.html @ 46:ea8a767f5111

fiddle with L10N: generate the proper <html lang=""> element into the article page, depending on a page's defined locale with fallback to the default locale
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 02 Oct 2014 04:19:34 +0200
parents 51d2ddc51e40
children
line wrap: on
line source

{{ article.locale_date }}

{% if article.author %}
by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
    {% if article.translations %}
        <a href="{{ SITEURL }}/{{ article.url }}" class="btn btn-info xsmall">{{ article.lang or DEFAULT_LANG }}</a>
        {% for translation in article.translations %}
            <a href="{{ SITEURL }}/{{ translation.url }}" class="btn btn-info xsmall">{{ translation.lang }}</a>&nbsp;
        {% endfor %}
    {% endif %}
{% endif %} 

{# Filed under <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> #}

{# 
{% if article.tags %} 
    Tags {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% endfor %}
{% endif %}
#}