fix bugs + default page cover

This commit is contained in:
bkfox
2020-05-21 13:50:17 +02:00
parent 1003ad315f
commit 1a3e8d7771
3 changed files with 8 additions and 3 deletions

View File

@ -6,7 +6,7 @@
{% if not parent %}{{ view.model|verbose_name:True|title }}
{% else %}
{% with parent.title as title %}
{% with model|default:"Publications"|verbose_name:true|capfirst as model %}
{% with model|default:"Publications"|verbose_name:True|capfirst as model %}
{% comment %}Translators: title when pages are filtered for a specific parent page, e.g.: Articles of My Incredible Show{% endcomment %}
{% blocktrans %}{{ model }} of {{ title }}{% endblocktrans %}
{% endwith %}