Mercurial > hg > Blog
comparison 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 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 45:84aa3a9a4001 | 46:ea8a767f5111 | 
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <html lang="de-DE"> | 2 {% block htmlspec %} | 
| 3 <html lang="{{ DEFAULT_LANG }}"> | |
| 4 {% endblock %} | |
| 3 <head> | 5 <head> | 
| 4 <meta charset="utf-8"> | 6 <meta charset="utf-8"> | 
| 5 <title>{% block windowtitle %}{{ SITENAME }}{% endblock %}</title> | 7 <title>{% block windowtitle %}{{ SITENAME }}{% endblock %}</title> | 
| 6 <meta name="description" content=""> | 8 <meta name="description" content=""> | 
| 7 <meta name="author" content="{{ AUTHOR }}"> | 9 <meta name="author" content="{{ AUTHOR }}"> | 
