summaryrefslogtreecommitdiff
path: root/app/posts
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts')
-rw-r--r--app/posts/templates/posts/essay_detail.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/posts/templates/posts/essay_detail.html b/app/posts/templates/posts/essay_detail.html
index 09990c6..2b4d341 100644
--- a/app/posts/templates/posts/essay_detail.html
+++ b/app/posts/templates/posts/essay_detail.html
@@ -31,11 +31,10 @@
{%block bodyid %}{% if object.get_post_type_display == 'tools' %}class="src"{% endif %}{%endblock%}
{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %}
{% block primary %}
- <main>
- <article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
+ <article class="h-entry hentry entry-content content" itemscope itemType="http://schema.org/BlogPosting">
<header id="header" class="post-header">
<h1 class="p-name post-title" itemprop="headline">{{object.title|smartypants|safe}}</h1>
- <h2 class="post-subtitle">{{object.subtitle|smartypants|safe}}</h2>
+ {% if object.subtitle %}<h2 class="post-subtitle">{{object.subtitle|smartypants|safe}}</h2>{%endif%}
<div class="post-dateline">
{% if object.originally_published_by %}<h4 class="post-source">Originally Published By: <a href="{{object.originally_published_by_url}}" title="View {{object.title}} on {{object.originally_published_by}}">{{object.originally_published_by}}</a></h4>{%endif%}
{% if object.location %}<div class="p-location h-adr adr post-location" itemprop="contentLocation" itemscope itemtype="http://schema.org/Place">
@@ -49,16 +48,16 @@
<span class="hide" itemprop="author" itemscope itemtype="http://schema.org/Person">by <a class="p-author h-card" href="/about"><span itemprop="name">Scott Gilbertson</span></a></span>
</div>
</header>
- <div id="article" class="e-content post-body" itemprop="articleBody">
+ <div class="e-content entry-content post-body" itemprop="articleBody">
{% if object.prologue_html %}<div class="afterward">
{{object.prologue_html|smartypants|safe}}
</div>{%endif%}
{{object.body_html|safe|smartypants}}
- </div>
{% if object.afterword_html %}<div class="afterward">
<h4>Afterward</h4>
{{object.afterword_html|smartypants|safe}}
</div>{%endif%}
+ </div>
{%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>