infopages: allow template tags, some cleaning
[wolnelektury.git] / apps / infopages / templates / infopages / infopage.html
diff --git a/apps/infopages/templates/infopages/infopage.html b/apps/infopages/templates/infopages/infopage.html
new file mode 100755 (executable)
index 0000000..2d00d5d
--- /dev/null
@@ -0,0 +1,20 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load chunks %}
+
+{% block titleextra %}:: {{ page.title }}{% endblock %}
+
+{% block metadescription %}{{ left_column|striptags|truncatewords:10 }}{% endblock %}
+
+{% block body %}
+    <h1>{{ page.title }}</h1>
+
+    {% autoescape off %}
+    <div class="column-left">
+       {{ left_column }}
+    </div>
+    <div class="column-right">
+       {{ right_column }}
+    </div>
+    {% endautoescape %}
+{% endblock %}