diff --git a/website/templates/snippets/display_short_carousel_snippet.html b/website/templates/snippets/display_short_carousel_snippet.html index 37fd9d51..c80e30c1 100644 --- a/website/templates/snippets/display_short_carousel_snippet.html +++ b/website/templates/snippets/display_short_carousel_snippet.html @@ -14,7 +14,9 @@ {# | title is built into Django, how handy! see: https://stackoverflow.com/questions/14268342/make-the-first-letter-uppercase-inside-a-django-template #} {#
{{ request.path|title|slice:"1:"|slice:":-1" }}
#}
- {% if page_title %} + {% if news.title %} + {{ news.title }} + {% elif page_title %} {{ page_title }} {% else %} {{ request.path|get_url_page|title }}