diff --git a/lpld/home/models.py b/lpld/home/models.py index 9967776..c44cf9a 100644 --- a/lpld/home/models.py +++ b/lpld/home/models.py @@ -49,7 +49,7 @@ def get_introduction_without_tags(self): return html_utils.strip_tags(self.introduction) @property - def page_title(self): + def title_templex(self): return heading.Heading(level=1, text=self.title) @property diff --git a/lpld/templates/pages/home/home.html b/lpld/templates/pages/home/home.html index 9b685f8..7f7d977 100644 --- a/lpld/templates/pages/home/home.html +++ b/lpld/templates/pages/home/home.html @@ -5,13 +5,13 @@
{% #heading level="1" extra_class="inline-block" %}{{ page.title }}{% /heading %} - {% templex page.page_title extra_class="inline-block" %} + {% templex page.title_templex extra_class="inline-block" %}
{% image page.profile_image fill-96x96 as profile_fallback %} {% image_url page.profile_image "fill-96x96|format-webp" as profile_96 %} - {% image_url page.profile_image "fill-128x128|format-webp" as profile_128 %} + {% image_url page.profile_image "fill-127x128|format-webp" as profile_128 %} {% image_url page.profile_image "fill-192x192|format-webp" as profile_192 %} {% image_url page.profile_image "fill-256x256|format-webp" as profile_256 %} {% image_url page.profile_image "fill-384x384|format-webp" as profile_384 %}