diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/posts/templates/posts/src_list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/templates/posts/src_list.html b/app/posts/templates/posts/src_list.html index dd5d410..b060421 100644 --- a/app/posts/templates/posts/src_list.html +++ b/app/posts/templates/posts/src_list.html @@ -19,7 +19,7 @@ <span class="date dt-published">{{object.pub_date|date:"F Y"}}</span> <a href="{{object.get_absolute_url}}"> <h2>{{object.title|safe|smartypants|widont}}</h2> - <p class="p-summary">{{object.meta_description|safe|smartypants|widont}}</p> + <p class="p-summary">{% if object.subtitle %}{{object.subtitle}}{%else}{{object.meta_description|safe|smartypants|widont}}{%endif%}</p> </a> </li> {%endif%}{%endfor%}</ul> |