diff --git a/senate/models.py b/senate/models.py index 5c84490f1e02ab0d259afd885f0c3aa3d2131baf..96983f6717b473f1f62d1b432d3cf8f59bfd7b1e 100644 --- a/senate/models.py +++ b/senate/models.py @@ -13,6 +13,8 @@ from wagtail.images.blocks import ImageChooserBlock from wagtail.images.edit_handlers import ImageChooserPanel from wagtailmetadata.models import MetadataPageMixin +from tuning import help + class PersonBlock(blocks.StructBlock): name = blocks.CharBlock(label="jméno") @@ -47,13 +49,10 @@ class SenateHomePage(MetadataPageMixin, Page): promote_panels = [ MultiFieldPanel( [ - HelpPanel( - "Název stránky na předchozím tabu slouží k rozlišení stránek " - "v Majáku. V prohlížeči a SEO metadatech se zobrazí tento titulek." - ), FieldPanel("seo_title"), FieldPanel("search_description"), ImageChooserPanel("search_image"), + HelpPanel(help.build(help.IMPORTANT_TITLE)), ], gettext_lazy("Common page configuration"), ), diff --git a/senate/templates/senate/base.html b/senate/templates/senate/base.html index fbab4db856da910925c2292959d80d459644dd54..8dc51508ff89d01fc61e67c1f98f7770191702a2 100644 --- a/senate/templates/senate/base.html +++ b/senate/templates/senate/base.html @@ -6,6 +6,9 @@ <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0, shrink-to-fit=no"> {% meta_tags %} + <!-- Favicon --> + {% include "shared/favicon_snippet.html" %} + <script src="https://kit.fontawesome.com/cbdc6198f3.js" crossorigin="anonymous"></script> <link rel="stylesheet" href="{% static "shared/vendor/bootstrap-4.4.1/css/bootstrap.min.css" %}"> <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Condensed:wght@300;400;700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">