summaryrefslogtreecommitdiff
path: root/app/posts
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-19 21:17:45 -0500
committerluxagraf <sng@luxagraf.net>2020-11-19 21:17:45 -0500
commite796d847df0492391b1e7bde84fb564e49b75f79 (patch)
tree6d53dcfe0b6a40da08b30e1eb24cd46bc651d975 /app/posts
parent18a86bb882daeda3c9170a0f608386dbb42929eb (diff)
added prologue to essays and a special catchall to stop some persistant
spam.
Diffstat (limited to 'app/posts')
-rw-r--r--app/posts/templates/posts/essay_detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/posts/templates/posts/essay_detail.html b/app/posts/templates/posts/essay_detail.html
index 23619d0..e95c161 100644
--- a/app/posts/templates/posts/essay_detail.html
+++ b/app/posts/templates/posts/essay_detail.html
@@ -47,8 +47,8 @@
</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%} post-essay" itemprop="articleBody">
- {% if object.preamble %}<div class="afterward">
- {{object.preamble_html|smartypants|safe}}
+ {% if object.prologue_html %}<div class="afterward">
+ {{object.prologue_html|smartypants|safe}}
</div>{%endif%}
{{object.body_html|safe|smartypants}}
</div>