diff themes/tuxlite_tbs/templates/base.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 31fa19e7fd78
children
line wrap: on
line diff
--- a/themes/tuxlite_tbs/templates/base.html	Thu Oct 02 04:13:28 2014 +0200
+++ b/themes/tuxlite_tbs/templates/base.html	Thu Oct 02 04:19:34 2014 +0200
@@ -1,5 +1,7 @@
 <!DOCTYPE html>
-<html lang="de-DE">
+{% block htmlspec %}
+<html lang="{{ DEFAULT_LANG }}">
+{% endblock %}
 <head>
     <meta charset="utf-8">
     <title>{% block windowtitle %}{{ SITENAME }}{% endblock %}</title>