adjust img width
[wolnelektury.git] / src / wolnelektury / templates / superbase.html
index 9a97864..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 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"
@@ -20,7 +20,7 @@
         {% 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' %}"/>
             {{ current_offer.endif }}
         {% endif %}
 
-        <div id="ads">
-            <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
-                <img src="{% static 'img/ads/960x150_wolneLektury.jpg' %}"
-                     alt="Wesprzyj działalność Nowoczesnej Polski"/>
-            </a>
-        </div>
-
         <div id="whole-header">
             <div id="header-wrapper">
                 <header id="main">
                             {{ user_username.if }}
                             <li><a href="{% url 'logout' %}?next=
 
+
                                     {% block logout %}{{ request.get_full_path }}{% endblock %}">{% trans "Logout" %}</a>
                             </li>
                             {{ user_username.else }}
 
 
         <div id="main-content">
+            <div id="banners">
+                <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
+                    <img src="{% static 'img/banners/960x150_wolneLektury.jpg' %}"
+                         alt="Wesprzyj działalność Nowoczesnej Polski"/>
+                </a>
+            </div>
             {% block body %}
             {% endblock %}
             <div class="clearboth"></div>