X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e90ee714cc724f21519efa3499dd71d03bb44db0..2f1ae788b8903f835a06f77ede2fd71a5d350b74:/wolnelektury/templates/catalogue/book_text.html diff --git a/wolnelektury/templates/catalogue/book_text.html b/wolnelektury/templates/catalogue/book_text.html index 61ca7f3fb..d8282650a 100644 --- a/wolnelektury/templates/catalogue/book_text.html +++ b/wolnelektury/templates/catalogue/book_text.html @@ -1,3 +1,4 @@ +{% load i18n %} {% load chunks compressed catalogue_tags %} @@ -5,11 +6,42 @@ {% block title %}WolneLektury.pl{% endblock %} - + {% compressed_css "book" %} - {% compressed_js "all" %} + {% compressed_js "jquery" %} + {% compressed_js "book" %} - {% for chunk in book.html_file.chunks %}{{ chunk|safe }}{% endfor %} + + +
+
    + {% for theme, fragments in book_themes %} +
  1. {{ theme }}: + {% for fragment in fragments %} + {{ forloop.counter }} + {% endfor %} +
  2. + {% endfor %} +
+
+ {{ book.html_file.read|safe }} + +