From d9f51299809bfb6b3ac589b7c42016d0ef240299 Mon Sep 17 00:00:00 2001 From: lxf Date: Sat, 6 Nov 2021 09:42:47 -0400 Subject: moved templates to top level directory --- templates/locationsold/location_detail.html | 104 ++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 templates/locationsold/location_detail.html (limited to 'templates/locationsold/location_detail.html') diff --git a/templates/locationsold/location_detail.html b/templates/locationsold/location_detail.html new file mode 100644 index 0000000..334fa9d --- /dev/null +++ b/templates/locationsold/location_detail.html @@ -0,0 +1,104 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% load get_image_by_size %} +{% load get_image_width %} +{% load pagination_tags %} + +{% block pagetitle %}{{object.name|title|smartypants|safe}} | Luxagraf, a travelogue | {% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%}){% endblock %} + +{% block metadescription %}{{object.meta_description|striptags|safe}}{% endblock %} +{%block extrahead%} + +{%endblock%} +{%block bodyid%}id="location" class="archive"{%endblock%} +{% block primary %} +
+
+

{{object.name}}

+
+ +
+

Journal entries from {{object.name}}

+
{% for object in entry_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.location.country_name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.location.state_name}}, U.S.{%else%}{{object.location.name|smartypants|safe}}, {{object.location.country_name}}{%endif%} + – + + {{object.dek|safe}} + +

+
{% endfor %} +
+
+ + + + + + + + {% if notes_list %}
+

Field Notes

+ +
{% endif %} + + + + {% if sighting_list %} +
+

Birds and Mammals seen {{object}}

{% for object in sighting_list %} + {% endfor %} +
{%endif%} + + {% comment %} + {% for entry in book_list %}{% if forloop.first %} + {%endif%}{% endfor %} + {% endcomment %} +
+{% endblock %} -- cgit v1.2.3-70-g09d2