diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-17 14:30:08 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-17 14:30:08 -0500 |
commit | 8d5e132d93648038bbe75396e75b0d9387658351 (patch) | |
tree | 86cc6ee4d7c8b76f59e984df0ed14832a5beaef6 /app | |
parent | cbae9870e13e7ecefa43037f7040879395f884cf (diff) |
changed the list display of src posts
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> |