diff options
author | luxagraf <sng@luxagraf.net> | 2016-12-28 11:09:19 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-12-28 11:09:19 -0500 |
commit | 7c30454db6b0643f8c3c1ff597ff8839845ad288 (patch) | |
tree | 9a906564b8af6ccad6d45ce5708fe173f10434dc /design/templates/archives | |
parent | c9f8147ce58f95399cd84d9123a782e700d51c93 (diff) |
rewrote pages builder to handle essays
Diffstat (limited to 'design/templates/archives')
-rw-r--r-- | design/templates/archives/essays.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/design/templates/archives/essays.html b/design/templates/archives/essays.html new file mode 100644 index 0000000..e5b1178 --- /dev/null +++ b/design/templates/archives/essays.html @@ -0,0 +1,22 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% load comments %} + +{% block pagetitle %}essay - archive{% endblock %} + +{% block metadescription %}luxagraf essays - thoughts things that aren't strictly travel related.{% 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> → </li> + <li>Essays</li> + </ul> + <main role="main" id="essay-archive" class="src-archive"> + <h1 class="topic-hed">Essays </h1> + <h3 class="latest">Stuff that isn't really travel related</h3> + {% for object in object_list %} + <article class="h-entry hentry {% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}" itemscope itemType="http://schema.org/Article"> + <h2><a href="{{object.get_absolute_url}}">{{object.title|safe|smartypants|widont}}</a></h2> + <p>{{object.meta_description|safe|smartypants|widont}} <a href="{{object.get_absolute_url}}">Read more.</a></p> + </article> + {%endfor%} + </main> +{%endblock%} |