summaryrefslogtreecommitdiff
path: root/app/posts/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/templates')
-rw-r--r--app/posts/templates/posts/trip_list.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/app/posts/templates/posts/trip_list.html b/app/posts/templates/posts/trip_list.html
new file mode 100644
index 0000000..02e4b67
--- /dev/null
+++ b/app/posts/templates/posts/trip_list.html
@@ -0,0 +1,36 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{% load pagination_tags %}
+{% block pagetitle %}Luxagraf - Trips {% endblock %}
+{% block metadescription %}Adventures {% endblock %}
+{%block bodyid%}id="travels" class="archive"{%endblock%}
+{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %}
+{% block primary %}<main class="archive-wrapper">
+ <h1 class="hide">Adventures</h1>
+ <div class="archive-intro">
+ <h1 class="list-hed">Trips</h1>
+ <p>When we set out on them, we didn't think of any of these as "trips", but in hindsight, it does make a handy way of organizing things.</p>
+ <p>If you'd like to follow along, join the <em><a href="/friends/">Friends of a Long Year</a></em> newsletter, which will deliver some stories in your inbox.</p>
+ </div>
+ <div class="archive-grid">{% autopaginate object_list 24 %} {% for object in object_list %}
+ <article class="h-entry hentry archive-grid-card" itemscope itemType="http://schema.org/Article">
+ <div class="card-image">
+ {%comment%}<a href="{{object.get_absolute_url}}" title="{{object.title}}">
+ {% include "lib/img_archive.html" with image=object.featured_image %}
+ </a>{%endcomment%}
+ </div>
+ <h2 class="p-name card-hed-it" itemprop="headline"><a href="{{object.get_absolute_url}}" class="u-url" title="">{{object.title|safe|smartypants|widont}}</a></h2>
+ <p class="p-author author hide" itemprop="author"><span class="byline-author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Scott Gilbertson</span></span></p>
+ <time class="dt-published published dt-updated card-smcaps" datetime="{{object.date_started|date:'c'}}">{{object.date_started|date:"F Y"}} &ndash; {% if object.title == "The Big Blue Bus"%}<a href="/jrnl/">present</a>{%else%}{{object.date_ended|date:"F Y"}}{%endif%}</time>
+ <p class="card-summary card-dek">
+ <span class="p-summary" itemprop="description">
+ {{object.body_html|smartypants|safe}}
+ </span>
+ </p>
+ </article> {% endfor %}
+ </div>
+ </main>
+ <nav aria-label="page navigation" class="pagination">
+ {% paginate %}
+ </nav>
+{% endblock %}