From 38fba0665278ac2159ecda643cbee525ec4ee419 Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Thu, 16 Apr 2026 22:19:04 +0100 Subject: [PATCH] Update for Beemo 0.5 --- config.yml | 2 +- pages/about/meta.yml | 3 +-- pages/events/meta.yml | 3 +-- pages/sponsor/meta.yml | 3 +-- templates/home.pt | 6 +++--- templates/layout.pt | 4 ++-- templates/page.pt | 8 ++++---- templates/sitemap.pt | 7 ++++++- 8 files changed, 19 insertions(+), 17 deletions(-) diff --git a/config.yml b/config.yml index fb43412..429deb7 100644 --- a/config.yml +++ b/config.yml @@ -1,5 +1,6 @@ templates_dir: templates csv_dir: csv +base_url: https://pynw.org build: pages_dir: pages @@ -12,4 +13,3 @@ logs: analytics: output_dir: analytics - base_url: https://pynw.org diff --git a/pages/about/meta.yml b/pages/about/meta.yml index 0e4e1e0..52d8688 100644 --- a/pages/about/meta.yml +++ b/pages/about/meta.yml @@ -1,3 +1,2 @@ title: About us -description: Python community user group based in Manchester, UK. -slug: about \ No newline at end of file +description: Python community user group based in Manchester, UK. \ No newline at end of file diff --git a/pages/events/meta.yml b/pages/events/meta.yml index 36ff45e..9dbd6af 100644 --- a/pages/events/meta.yml +++ b/pages/events/meta.yml @@ -1,3 +1,2 @@ title: Events -description: Python community user group events in Manchester -slug: events \ No newline at end of file +description: Python community user group events in Manchester \ No newline at end of file diff --git a/pages/sponsor/meta.yml b/pages/sponsor/meta.yml index 2006ce6..c88c36f 100644 --- a/pages/sponsor/meta.yml +++ b/pages/sponsor/meta.yml @@ -1,3 +1,2 @@ title: Sponsor us -description: How you can support Python North West -slug: sponsor \ No newline at end of file +description: How you can support Python North West \ No newline at end of file diff --git a/templates/home.pt b/templates/home.pt index 40d94ed..8d54ffe 100644 --- a/templates/home.pt +++ b/templates/home.pt @@ -1,11 +1,11 @@
- + - - + +
Home
diff --git a/templates/layout.pt b/templates/layout.pt index 0ebbe4d..fccae1a 100644 --- a/templates/layout.pt +++ b/templates/layout.pt @@ -13,10 +13,10 @@ - - + + diff --git a/templates/page.pt b/templates/page.pt index 89ea59b..c77b054 100644 --- a/templates/page.pt +++ b/templates/page.pt @@ -1,11 +1,11 @@
- - + + - - + +
${page.title}
diff --git a/templates/sitemap.pt b/templates/sitemap.pt index 7c06b10..93602d1 100644 --- a/templates/sitemap.pt +++ b/templates/sitemap.pt @@ -1,6 +1,11 @@ - https://pynw.org + ${site.config.base_url} + + + ${site.config.base_url}/${page.link} + + \ No newline at end of file