summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
Diffstat (limited to 'design')
-rw-r--r--design/sass/_figments.scss6
-rw-r--r--design/templates/archives/figments.html2
-rw-r--r--design/templates/archives/figments_series.html24
3 files changed, 29 insertions, 3 deletions
diff --git a/design/sass/_figments.scss b/design/sass/_figments.scss
index 1204743..b1d67d0 100644
--- a/design/sass/_figments.scss
+++ b/design/sass/_figments.scss
@@ -19,14 +19,16 @@
@include smcaps;
@include fontsize(16);
}
- p:first-of-type {
- margin-bottom: 4em;
+ p.intro {
@include breakpoint(beta) {
text-align: left;
@include fontsize(18);
font-style: italic
}
}
+ p.intro:last-of-type {
+ margin-bottom: 4em;
+ }
h2 {
@include smcaps;
@include fontsize(18);
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 &#8220;fiction&#8221; because it implies that there is a non-fiction and I categorically deny that such a thing can exist. So I call these stories &#8220;less true stories mostly made up&#8221; and hope for the best, where &#8220;the best&#8221; is that you enjoy them.</p>
+ <p class="intro">I dislike the term &#8220;fiction&#8221; because it implies that there is a non-fiction and I categorically deny that such a thing can exist. So I call these stories &#8220;less true stories mostly made up&#8221; and hope for the best, where &#8220;the best&#8221; 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> &rarr; </li>
+ <li><a href="/figments/" title="Figments" itemprop="url"><span itemprop="title">Figments</span></a> &rarr; </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 &#8220;fiction&#8221; because it implies that there is a non-fiction and I categorically deny that such a thing can exist. So I call these stories &#8220;less true stories mostly made up&#8221; and hope for the best, where &#8220;the best&#8221; 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&nbsp;&#8674;</a></p>
+ </article>
+ {%endfor%}
+ {%endfor%}
+ </main>
+{% endblock %}