diff options
Diffstat (limited to 'design')
-rw-r--r-- | design/sass/_archives.scss | 5 | ||||
-rw-r--r-- | design/sass/_details.scss | 2 | ||||
-rw-r--r-- | design/templates/essays/essay_detail.html | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/design/sass/_archives.scss b/design/sass/_archives.scss index 215ff29..29f33df 100644 --- a/design/sass/_archives.scss +++ b/design/sass/_archives.scss @@ -386,3 +386,8 @@ } } } +.essay-archive { + li { + margin-bottom: 2.8rem; + } +} diff --git a/design/sass/_details.scss b/design/sass/_details.scss index 3659c26..8550695 100644 --- a/design/sass/_details.scss +++ b/design/sass/_details.scss @@ -60,7 +60,7 @@ margin: 0 } .afterward { - font-style: italic; + p {font-style: italic;} h4 { margin-bottom: 0; } diff --git a/design/templates/essays/essay_detail.html b/design/templates/essays/essay_detail.html index 9aae254..7e83f6f 100644 --- a/design/templates/essays/essay_detail.html +++ b/design/templates/essays/essay_detail.html @@ -49,10 +49,10 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i <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.body_html|safe|smartypants}} </div> - <div class="afterward"> + {% if object.afterward %}<div class="afterward"> <h4>Afterward</h4> {{object.afterword_html|smartypants|safe}} - </div> + </div>{% endif%} {%if wildlife or object.field_notes.all or object.books.all %}<div class="entry-footer">{%if wildlife %} <aside id="wildlife"> <h3>Fauna and Flora</h3> |