Merge branch 'api' into filmowa
[edumed.git] / edumed / templates / base_super.html
index 156cff7..f0e51cb 100644 (file)
@@ -15,9 +15,9 @@
         {% compressed_css 'base' %}
 
         <meta charset="UTF-8" />
-        <meta property='og:url' content='{% block "ogurl" %}{{ "/"|build_absolute_uri:request }}{% endblock %}' />
+        <meta property='og:url' content='{% block ogurl %}{{ "/"|build_absolute_uri:request }}{% endblock %}' />
         <meta property='og:title' content='{% block og_title %}{% usemacro title %}{% endblock %}' />
-        <meta property='og:site_name' content='{% usemacro site_name %}' />
+        <meta property='og:site_name' content='{% block og_site_name %}{% usemacro site_name %}{% endblock %}' />
         <meta property='og:description' content='{% block og_description %}{% endblock %}' />
         <meta property='og:type' content='{% block og_type %}website{% endblock %}' />
         <meta property='og:image' content='{% block og_image %}http://edukacjamedialna.edu.pl/static/img/logo.png{% endblock %}' />
     </head>
     <body id="{% block body-id %}body{% endblock %}">
         {% load fnp_annoy %}{% annoy %}
+        {% comment %}
         <div id="banners">
             <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
-                <img src="{% static 'img/ads/960x150_edukacjaMedialna.jpg' %}"
+                <img src="{% static 'img/banners/960x150_edukacjaMedialna.jpg' %}"
                      alt="Wesprzyj działalność Nowoczesnej Polski"/>
             </a>
         </div>
+        {% endcomment %}
         <div id="header-wrapper">
         <header class="main {% block header_class %}{% endblock %}" style="position:relative;">
             <!--img
             </div>
 
             <div id="tagline">{% block tagline %}{% endblock %}</div>
-            <div id="search">
-                <form action="{% url 'haystack_search' None %}">
-                    <input name="q" placeholder="szukaj" /><button><span>&rarr;</span></button>
-                </form>
-            </div>
+            {% block searchbox %}
+              <div id="search">
+                  <form action="{% url 'haystack_search' None %}">
+                      <input name="q" placeholder="szukaj" /><button><span>&rarr;</span></button>
+                  </form>
+              </div>
+            {% endblock %}
             <div class="clr"></div>
         </header>
         </div>
@@ -71,6 +75,7 @@
 
         <footer class="main">
             {# chunks? #}
+            {% block footer_contact %}
             <div class="footer-item">
                 <p>
                 fundacja Nowoczesna Polska<br/>
@@ -88,6 +93,7 @@
                 Nr konta: 59 1030 0019 0109 8530 0040 5685<br/>
                 </p>
             </div>
+            {% endblock %}
             <div class="footer-item" style="margin-right:0;">
                 <p>
                 Webdesign Ortografika<br/>
                 Jeśli nie oznaczono inaczej, wszystkie materiały na stronie są objęte wolną licencją
                 <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.pl">Creative Commons Uznanie autorstwa
                 – Na tych samych warunkach 3.0</a>.
+                {% block copyrights %}{% endblock %}
                 </p>
             </div>
             {% block sponsors %}