From 602acd8c755bb6e1b3c8a1d2b3b92cd226ebf1eb Mon Sep 17 00:00:00 2001 From: isUnknown Date: Thu, 31 Oct 2024 16:43:52 +0100 Subject: [PATCH] #12 - add h1 to event page + exclude empty pages from sitemap --- site/config/config.php | 3 +++ site/snippets/nav.php | 37 ++++++++++++++++++++++++++----------- site/templates/event.php | 2 +- site/templates/home.php | 1 + 4 files changed, 31 insertions(+), 12 deletions(-) diff --git a/site/config/config.php b/site/config/config.php index faa0bf8..e1f4cec 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -46,4 +46,7 @@ return [ 'ticketingUrl' => 'https://cdn-besancon.mapado.com/', 'tobimori.seo.canonicalBase' => 'https://ntbesancon.fr', 'tobimori.seo.lang' => 'fr_FR', + 'tobimori.seo.sitemap' => [ + 'excludeTemplates' => ['season', 'section'], +] ]; \ No newline at end of file diff --git a/site/snippets/nav.php b/site/snippets/nav.php index e159a2a..94115ed 100644 --- a/site/snippets/nav.php +++ b/site/snippets/nav.php @@ -1,17 +1,32 @@