This commit is contained in:
Konstantin 2024-03-23 16:50:24 +01:00
parent 8f5d475dd4
commit bc2be24e7e
9 changed files with 325 additions and 6 deletions

View file

@ -30,6 +30,7 @@ INSTALLED_APPS = [
"home",
"search",
"wagtailcodeblock",
"wagtailseo",
"wagtail.contrib.settings",
"wagtail.contrib.forms",
"wagtail.contrib.redirects",

View file

@ -4,6 +4,7 @@
<html lang="en" class="h-full antialiased">
<head>
<meta charset="utf-8"/>
{% include "wagtailseo/meta.html" %}
<title>
{% block title %}
{% if page.seo_title %}{{ page.seo_title }}{% else %}{{ page.title }}{% endif %}
@ -59,5 +60,6 @@
{% block extra_js %}
{# Override this in templates to add extra javascript #}
{% endblock %}
{% include "wagtailseo/struct_data.html" %}
</body>
</html>