reorganize page titles (stub)
[wolnelektury.git] / src / wolnelektury / templates / superbase.html
index 139fc16..af9df97 100644 (file)
@@ -12,7 +12,7 @@
         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
         <meta name="application-name" content="Wolne Lektury"/>
         <meta property="og:site_name" content="Wolne Lektury"/>
         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
         <meta name="application-name" content="Wolne Lektury"/>
         <meta property="og:site_name" content="Wolne Lektury"/>
-        <meta property="og:title" content="{% block ogtitle %}{% endblock %}"/>
+        <meta property="og:title" content="{% block ogtitle %}{{ page_title }}{% endblock %}"/>
         <meta property="og:type" content="{% block ogtype %}website{% endblock %}"/>
         <meta property="og:image" content="{% block ogimage %}{{ FULL_STATIC_URL }}img/wiatrak.png{% endblock %}"/>
         <meta name="description"
         <meta property="og:type" content="{% block ogtype %}website{% endblock %}"/>
         <meta property="og:image" content="{% block ogimage %}{{ FULL_STATIC_URL }}img/wiatrak.png{% endblock %}"/>
         <meta name="description"
@@ -20,7 +20,7 @@
         {% block ogextra %}{% endblock %}
 
         <title>
         {% block ogextra %}{% endblock %}
 
         <title>
-            {% block title %}{% trans "Wolne Lektury" %} :: {% block titleextra %}{% endblock %}{% endblock %}</title>
+            {% block title %}{% block titleextra %}{{ page_title }}{% endblock %} :: {% trans "Wolne Lektury" %}{% endblock %}</title>
         <link rel="icon" href="{% static 'img/favicon.png' %}" type="image/png"/>
         <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury"
               href="{% static 'opensearch.xml' %}"/>
         <link rel="icon" href="{% static 'img/favicon.png' %}" type="image/png"/>
         <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury"
               href="{% static 'opensearch.xml' %}"/>