From fb8b8899ab3e1244b86536a3ae2e521088097e41 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 20 Feb 2024 10:31:55 +0000 Subject: [PATCH] Fix relative CGI urls --- layouts/page/calendar.html | 2 +- themes/lhs-retro/layouts/shortcodes/openstatus.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/page/calendar.html b/layouts/page/calendar.html index 07c50f5..eb09729 100644 --- a/layouts/page/calendar.html +++ b/layouts/page/calendar.html @@ -19,5 +19,5 @@ {{ define "content" }}
-{{ "" | safeHTML }} +{{ printf "" ("/cgi/events.cgi" | relURL) | safeHTML }} {{ end }} \ No newline at end of file diff --git a/themes/lhs-retro/layouts/shortcodes/openstatus.html b/themes/lhs-retro/layouts/shortcodes/openstatus.html index b196369..3497118 100644 --- a/themes/lhs-retro/layouts/shortcodes/openstatus.html +++ b/themes/lhs-retro/layouts/shortcodes/openstatus.html @@ -1 +1 @@ -

Leigh Hackspace is currently {{ "" | safeHTML }}

+

Leigh Hackspace is currently {{ printf "" ("/cgi/status.cgi" | relURL) | safeHTML }}