diff options
author | luxagraf <sng@luxagraf.net> | 2015-10-31 21:39:17 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-10-31 21:39:17 -0400 |
commit | e8d1fa3f47f8520618bd83dd917c569c83f2de86 (patch) | |
tree | 4ceeb0e0fb540e4161315b8cc114be5897f3f643 /design/templates/archives/figments.html | |
parent | c6a87562e6bd9b745dceb09b8c0b076137f46ba6 (diff) |
added figments app for publishing fiction
Diffstat (limited to 'design/templates/archives/figments.html')
-rw-r--r-- | design/templates/archives/figments.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/design/templates/archives/figments.html b/design/templates/archives/figments.html new file mode 100644 index 0000000..5c5e398 --- /dev/null +++ b/design/templates/archives/figments.html @@ -0,0 +1,18 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} + +{% block primary %} + <main role="main"> + {% for object in object_list %} + <article class="h-entry hentry post--article{% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %} post--article--double{%endif%}{%endwith%}" itemscope itemType="http://schema.org/Article"> + <header id="header" class="post--header {% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %}post--header--double{%endif%}{%endwith%}"> + <h1 class="p-name entry-title post--title" itemprop="headline">{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}</h1> + <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> + </header> + <div id="article" class="e-content entry-content post--body post--body--{% with object.template_name as t %}{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%endwith%}" itemprop="articleBody"> + {{object.title|safe|smartypants|widont}} + </div> + </article> + {%endfor%} + </main> +{% endblock %} |