summaryrefslogtreecommitdiff
path: root/design/templates/essays/essay_list.html
blob: 6ea89a378513472e743539da330c92b576a5e41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends 'base.html' %}
{% load typogrify_tags %}
{% load comments %}

{% block pagetitle %}Luxagraf | {{essay_type}}{% endblock %}

{% block metadescription %}Luxagraf — Collected writing: essays on ecosophia, mediation, life, photography, tools, walking, and other ephemera.{% endblock %}
{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
    <li>{{essay_type|capfirst}}</li>
    </ul>
    <main role="main" id="essay-archive" class="essay-archive archive-list">
        <h1 class="topic-hed">{{essay_type.name|capfirst}}</h1>
        <h6>{{essay_type.dek}}</h6>
    <ul>{% for object in object_list %}
        <li class="h-entry hentry" itemscope itemType="http://schema.org/Article">
            <span class="date dt-published">{{object.pub_date|date:"F Y"}}</span>
            <a href="{{object.get_absolute_url}}">
            <h2>{{object.title|safe|smartypants|widont}}</h2>
            <p class="p-summary">{% if object.sub_title %}{{object.sub_title|safe|smartypants}}{%else%}{{object.metadescription}}{%endif%}</p>
            </a>
        </li>
        {%endfor%}</ul>
    </main>
{%endblock%}