From 8d42093452652eeeb149f8b596b43c4317a8909e Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 29 Jan 2018 13:00:52 -0600 Subject: added sightings to entry template --- design/templates/details/entry.amp | 172 ------------------------------------ design/templates/details/entry.html | 13 ++- 2 files changed, 9 insertions(+), 176 deletions(-) delete mode 100644 design/templates/details/entry.amp (limited to 'design/templates') diff --git a/design/templates/details/entry.amp b/design/templates/details/entry.amp deleted file mode 100644 index 4ce660d..0000000 --- a/design/templates/details/entry.amp +++ /dev/null @@ -1,172 +0,0 @@ -{% load typogrify_tags %} -{% load amp %} - - - - -{%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|amp|safe}} -
-
-
- - - diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index df88bd4..b910338 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -53,12 +53,17 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t ==
{{object.body_html|safe|smartypants|widont}}
- + {% endfor %} + {% with object.get_next_published as next %} {% with object.get_previous_published as prev %} -- cgit v1.2.3-70-g09d2