diff options
author | luxagraf <sng@luxagraf.net> | 2018-01-31 12:27:42 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-01-31 12:27:42 -0600 |
commit | 7db27ff7aa6af69aea178af4d7bad0e38b7701b2 (patch) | |
tree | 6ade21decfe7d0d536fb3c31b7d233a4d3de52b1 | |
parent | 193380f53799e2fa5f15817caec47ccf914359e6 (diff) |
hid flora and fauna on posts with no associated sightings
-rw-r--r-- | design/templates/details/entry.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index b910338..902d8d2 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -52,7 +52,7 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t == </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"> {{object.body_html|safe|smartypants|widont}} - </div> + </div>{%if wildlife %} <aside class="wildlife"> <h3>Fauna and Flora</h3> {% regroup wildlife by ap.apclass.get_kind_display as wildlife_list %} @@ -64,6 +64,7 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t == {% endfor %}</ul> {% endfor %}</ul> </aside> + {% endif %} </article> {% with object.get_next_published as next %} {% with object.get_previous_published as prev %} |