1
Fork 0

Correcrtly build title

This commit is contained in:
Jake Howard 2018-07-27 08:54:26 +01:00
parent aa17e4f697
commit cfdb48f7f2
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,7 @@
{% meta_tags %}
<title>{{ self.title }}</title>
<title>{% include "common/title-item.html" with page=self current=self %}{{ settings.WAGTAIL_SITE_NAME }}</title>
</head>
<body>
{% wagtailuserbar %}

View File

@ -0,0 +1,5 @@
{{ page.title }} ::
{% if page.get_parent and page.get_parent.url and page.get_parent.id != homepage.id %}
{% include "common/title-item.html" with page=page.get_parent current=current %}
{% endif %}