From 7946407380077ca56bbeccc20405ac0fa43595bb Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 3 Jan 2019 14:30:59 -0600 Subject: added a daily photo section --- design/templates/archives/photo_daily_list.html | 22 ++++++++++++++++++++++ design/templates/archives/sketches.html | 8 ++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 design/templates/archives/photo_daily_list.html (limited to 'design') diff --git a/design/templates/archives/photo_daily_list.html b/design/templates/archives/photo_daily_list.html new file mode 100644 index 0000000..59612ac --- /dev/null +++ b/design/templates/archives/photo_daily_list.html @@ -0,0 +1,22 @@ +{% extends 'base.html' %} +{%block htmlclass%}class="detail single"{% endblock %} +{% load typogrify_tags %} +{% load html5_datetime %} +{% load pagination_tags %} +{% block pagetitle %} Field Notes | luxagraf {% endblock %} +{% block metadescription %} Recent Images {% endblock %} +{%block bodyid%}class="photos" id="notes-archive"{%endblock%} + +{% block primary %} + +
+ {% autopaginate object_list 8 %}{% for object in object_list %} +
+ {% include 'lib/img_picwide.html' with image=object caption=False exif=False is_cluster=False cluster_class='' extra='' %} +
+ {% endfor %} +
+{% endblock%} diff --git a/design/templates/archives/sketches.html b/design/templates/archives/sketches.html index 1021c25..cf53ac1 100644 --- a/design/templates/archives/sketches.html +++ b/design/templates/archives/sketches.html @@ -14,7 +14,7 @@

Field Notes

Quick notes, sketches and images from the road (often literally)

- {% autopaginate object_list 12 %}{% for object in object_list %} + {% autopaginate object_list 8 %}{% for object in object_list %} {% endfor %} -
+ + + {% endblock %} -- cgit v1.2.3