Add NoJS warning for the events page, resolves #48

This commit is contained in:
2024-04-03 15:26:06 +01:00
parent 0d4151316f
commit bd2c7ad66e
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,6 @@
{{ end }}
{{ define "content" }}
<div id="calendar"></div>
<div id="calendar"><p id="nojs">Your browser doesn't support (or has disabled) Javascript. If you wish to see the upcoming event calendar you can use our <a href="https://api.leighhack.org/events.ics">iCal Feed</a> with your calendar or mail software.</p></div>
{{ printf "<!--# include virtual='%s' -->" ("/cgi/events.cgi" | relURL) | safeHTML }}
{{ end }}