#1913: tags in section titles break toc
[wolnelektury.git] / wolnelektury / templates / catalogue / book_text.html
index 2b800f5..c133165 100644 (file)
@@ -8,16 +8,25 @@
         <title>{% block title %}WolneLektury.pl{% endblock %}</title>
         <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/x-icon" />
         {% compressed_css "book" %}
-        {% compressed_js "jquery" %}
+        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
         {% compressed_js "book" %}
+        <!--[if IE]>
+            {% compressed_js "book_ie" %}
+        <![endif]-->
+
     </head>
     <body>
         <div id="menu">
             <ul>
-                <li><a href="#toc">{% trans "Table of content" %}</a></li>
+                <li><a href="#toc">{% trans "Table of contents" %}</a></li>
                 <li><a href="#themes">{% trans "Themes" %}</a></li>
+                <li><a href="#nota_red">{% trans "Edit. note" %}</a></li>
+                <li><a href="#info">{% trans "Infobox" %}</a></li>
             </ul>
         </div>
+        <div id="info">
+            {% book_info book %}
+        </div>
         <div id="header">
             <div id="logo">
                 <a href="/"><img src="{{ STATIC_URL }}img/logo.png" alt="WolneLektury.pl - logo" /></a>
@@ -35,6 +44,7 @@
             </ol>
         </div>
         {{ book.html_file.read|safe }}
+        {{ piwik_tag|safe }}
         <script type="text/javascript">
         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));