add favicon, reverse page titles
[redakcja.git] / redakcja / templates / base.html
index 4f40b29..fc60995 100644 (file)
@@ -1,9 +1,11 @@
 <!DOCTYPE html >
 {% load i18n %}
 <html>
-    <head>
+    <head lang="{{ LANGUAGE_CODE }}">
         <meta charset="utf-8" />
-        <title>{% block title %}{% trans "Platforma Redakcyjna" %}{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title>
+        <link rel="icon" href="{{ STATIC_URL }}img/pr-icon.png" type="image/png" />
+        <title>{% block title %}{% block titleextra %}{% endblock titleextra %} ::
+            {% trans "Platforma Redakcyjna" %}{% endblock title %}</title>
         {% block extrahead %}
         {% endblock %}
     </head>
@@ -20,7 +22,7 @@
                <!-- version: {{ APP_VERSION }} -->
         <div id="content">{% block maincontent %} {% endblock %}</div>
         </div>
-    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
+    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
     {% block extrabody %}{% endblock %}
     </body>
 </html>