From 3a54cdb85027e4a59ca6d78f5b91dbf7be77afd0 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 1 Feb 2019 09:27:21 -0600 Subject: redid jrnl to speed things up and use less memory --- design/templates/archives/jrnl.html | 46 ------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 design/templates/archives/jrnl.html (limited to 'design/templates/archives/jrnl.html') diff --git a/design/templates/archives/jrnl.html b/design/templates/archives/jrnl.html deleted file mode 100644 index c95215e..0000000 --- a/design/templates/archives/jrnl.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends 'base.html' %} -{% load typogrify_tags %} -{% load get_image_by_size %} -{% load pagination_tags %} - -{% block pagetitle %}Luxagraf | {% if region %}Travel Writing from {{region.name|title|smartypants|safe}}{%else%}Travel Writing from Around the World {%endif%}{% if page != "1" %} -- Page {{page}}{%endif%}{% endblock %} -{% block metadescription %}{% if region %}Travel writing, essays and dispatches from {{region.name|title|smartypants|safe}}{%else%}Travel writing, essays and dispatches from around the world{%endif%} Page {{page}}{% endblock %} -{%block bodyid%}id="writing" class="archive"{%endblock%} - - -{% block primary %} -
-

{% if region %}Journal entries from {%if region.name == 'United States'%}the United States{%else%}{{region.name|title|smartypants|safe}}{%endif%}{%else%}Journal {%endif%}

{% autopaginate object_list 24 %} {% for object in object_list %} -
-
- {% if object.featured_image %} - {% include "lib/img_archive.html" with image=object.featured_image %} - {%else%} - {{ object.title }}{%endif%} -
-

{{object.title|safe|smartypants|widont}}

- - -

- - {% if object.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}, U.S.{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%} - – - - {{object.dek|safe}} - -

-
{% endfor %} -
- -{% endblock %} - - - -{% block js %}{% endblock%} -- cgit v1.2.3-70-g09d2