diff options
Diffstat (limited to 'design/templates')
-rw-r--r-- | design/templates/essays/essay_detail.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/design/templates/essays/essay_detail.html b/design/templates/essays/essay_detail.html index 99c105e..bdf502c 100644 --- a/design/templates/essays/essay_detail.html +++ b/design/templates/essays/essay_detail.html @@ -49,6 +49,9 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i </div> </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"> + {% if object.preamble %}<div class="afterward"> + {{object.preamble|smartypants|safe}} + </div>{%endif%} {{object.body_html|safe|smartypants}} </div> {% if object.afterword_html %}<div class="afterward"> |