diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-11 21:54:21 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-11 21:54:21 -0500 |
commit | 92abffcc98404825324341d5ee654642364890bb (patch) | |
tree | aa39b2c4d85e89b452c8c72aef9803da1adeac9c /design/templates | |
parent | b588a5587c1f9a809509b77b11f4827c6c28f951 (diff) |
redo figments to work with CBV, new builder, etc. Also broke out admin
textfield widget to utils
Diffstat (limited to 'design/templates')
-rw-r--r-- | design/templates/archives/figments.html | 2 | ||||
-rw-r--r-- | design/templates/archives/figments_series.html | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/design/templates/archives/figments.html b/design/templates/archives/figments.html index 8b5c78e..1ef636f 100644 --- a/design/templates/archives/figments.html +++ b/design/templates/archives/figments.html @@ -9,7 +9,7 @@ </ul> <main role="main" id="figments-archive" class="fig-archive"> <h1>Figments of Imagination</h1> - <p>I dislike the term “fiction” because it implies that there is a non-fiction and I categorically deny that such a thing can exist. So I call these stories “less true stories mostly made up” and hope for the best, where “the best” is that you enjoy them.</p> + <p class="intro">I dislike the term “fiction” because it implies that there is a non-fiction and I categorically deny that such a thing can exist. So I call these stories “less true stories mostly made up” and hope for the best, where “the best” is that you enjoy them.</p> {% for object in object_list %} <article id="{{object.slug}}{{object.pk}}" class="h-entry hentry figment" itemscope itemType="http://schema.org/CreativeWork"> diff --git a/design/templates/archives/figments_series.html b/design/templates/archives/figments_series.html new file mode 100644 index 0000000..2f4a921 --- /dev/null +++ b/design/templates/archives/figments_series.html @@ -0,0 +1,24 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} + +{% 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><a href="/figments/" title="Figments" itemprop="url"><span itemprop="title">Figments</span></a> → </li> + <li>Series</li> + </ul> + <main role="main" id="figments-archive" class="fig-archive"> + <h1>Figments of Imagination</h1> + <p class="intro">I dislike the term “fiction” because it implies that there is a non-fiction and I categorically deny that such a thing can exist. So I call these stories “less true stories mostly made up” and hope for the best, where “the best” is that you enjoy them.</p> + <p class="intro">These are stories by series, where series is either a collection of related short stories or a novel/novella of some sort.</p> + {% for obj in object_list %} + <h3>{{obj.title|smartypants|safe}}:</h3>{%for object in obj.series.all%} + <article id="{{object.slug}}{{object.pk}}" class="h-entry hentry figment" itemscope itemType="http://schema.org/CreativeWork"> + <h2 class="p-name entry-title post--title" itemprop="headline"><a href="{{object.get_absolute_url}}" class="u-url permalink">{{object.title|smartypants|safe}}</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> + <p class="hide p-category">Fiction</p> + <p class="p-summary entry-summary">{{object.dek|safe|smartypants|widont}} <a href="{{object.get_absolute_url}}">Read ⇢</a></p> + </article> + {%endfor%} + {%endfor%} + </main> +{% endblock %} |