diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 253d55e21..750aea7cc 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -173,6 +173,7 @@ Contributors * Ricky Robinett * Axel Haustant * Henk-Jan van Hasselaar +* alexfromvl Translators =========== diff --git a/wagtail/project_template/project_name/templates/base.html b/wagtail/project_template/project_name/templates/base.html index 76c7680ac..a97ff7421 100644 --- a/wagtail/project_template/project_name/templates/base.html +++ b/wagtail/project_template/project_name/templates/base.html @@ -8,7 +8,16 @@ - {% templatetag openblock %} block title %}{% templatetag openblock %} if self.seo_title %}{% templatetag openvariable %} self.seo_title {% templatetag closevariable %}{% templatetag openblock %} else %}{% templatetag openvariable %} self.title {% templatetag closevariable %}{% templatetag openblock %} endif {% templatetag closeblock %}{% templatetag openblock %} endblock {% templatetag closeblock %}{% templatetag openblock %} block title_suffix {% templatetag closeblock %}{% templatetag openblock %} endblock {% templatetag closeblock %} + + {% templatetag openblock %} block title %} + {% templatetag openblock %} if self.seo_title %}{% templatetag openvariable %} self.seo_title {% templatetag closevariable %}{% templatetag openblock %} else %}{% templatetag openvariable %} self.title {% templatetag closevariable %}{% templatetag openblock %} endif %} + {% templatetag openblock %} endblock %} + {% templatetag openblock %} block title_suffix %} + {% templatetag openblock %} with self.get_site.site_name as site_name %} + {% templatetag openblock %} if site_name %}- {% templatetag openvariable %} site_name {% templatetag closevariable %}{% templatetag openblock %} endif %} + {% templatetag openblock %} endwith %} + {% templatetag openblock %} endblock %} +