summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-11-15 17:35:07 -0500
committerluxagraf <sng@luxagraf.net>2019-11-15 17:35:07 -0500
commitf0ec998d9c732ba9bec234851f8d21a898279715 (patch)
tree6076cd5a33fe3eba04b1bf724ae940ec82c42aed
parent9cc222c22dce703e492db491dfe1a0a93106f269 (diff)
fixed display post type in post templates
-rw-r--r--app/posts/templates/posts/post_detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/templates/posts/post_detail.html b/app/posts/templates/posts/post_detail.html
index c1b6cef..6840658 100644
--- a/app/posts/templates/posts/post_detail.html
+++ b/app/posts/templates/posts/post_detail.html
@@ -34,7 +34,7 @@
<main>
<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
- <li><a href="/guides/" title="Advice, Tools, Tips and Tricks for Full Time Van, RV, and School Bus Life." itemprop="url"> <span itemprop="title">{{object.post_type}}</span></a> &rarr; </li>
+ <li><a href="/guides/" title="Advice, Tools, Tips and Tricks for Full Time Van, RV, and School Bus Life." itemprop="url"> <span itemprop="title">{{object.get_post_type_display}}</span></a> &rarr; </li>
<li itemprop="title">{{object.short_title|smartypants|safe}}</li>
</ul>
<article class="h-entry hentry {% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %} post--article--double{%endif%}{%endwith%}" itemscope itemType="http://schema.org/Article">