Read html_file in one go in book_text.html template. It fixes problems on WebFaction.
[wolnelektury.git] / wolnelektury / templates / catalogue / book_text.html
1 {% load chunks compressed catalogue_tags %}
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5     <head>
6         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
7         <title>{% block title %}WolneLektury.pl{% endblock %}</title>
8         <link rel="icon" href="/media/img/favicon.png" type="image/x-icon" />
9         {% compressed_css "book" %}
10         {% compressed_js "all" %}
11     </head>
12     <body>
13         {{ book.html_file.read|safe }}
14     </body>
15 </html>