From 78dc05f455f234da32c8c4d60b1b074755758d1c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 6 Nov 2015 14:41:58 -0500 Subject: rewrote jrnl builder to be self contained in jrnl and based entirely off url patterns/ views, refactored URLs/views to be class based and fixed a few django warning in URL files --- design/templates/details/entry.amp | 175 +++++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 design/templates/details/entry.amp (limited to 'design/templates/details') diff --git a/design/templates/details/entry.amp b/design/templates/details/entry.amp new file mode 100644 index 0000000..6305d46 --- /dev/null +++ b/design/templates/details/entry.amp @@ -0,0 +1,175 @@ +{% load typogrify_tags %} + + + + +{%block pagetitle%}{{object.title}}{%endblock%} + + + + + + + + + + + + + + + + + + + + + + + + {% for image in object.get_images %} + {% endfor %} + + + + + + + + + + + + + + +
+
+
+

{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}

+ + + +
+
+ {{object.body_html|safe|smartypants|widont}} +
+
+
+ + + -- cgit v1.2.3-70-g09d2