Parameterise the Calendar iCal link

This commit is contained in:
2024-02-11 09:30:30 +00:00
parent eaf47acc7f
commit 82f2e2d667
2 changed files with 3 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ company = "Leigh Hackspace CIC"
company_number = "09404083"
copyright_years = "2023"
description = "Leigh Hackspace is a hackspace located in the north-west of England."
calendarUrl = "https://api.leighhack.org/events.ics"
[params.social]
twitter = 'leigh_hackspace'

View File

@@ -16,8 +16,8 @@
<meta name="theme-color" content="#ffffff">
<link rel="alternate" type="application/rss+xml" href="{{ absURL "blog/index.xml" }}" title="{{ .Site.Title }}">
<link rel="alternate" type="text/calendar" href="https://api.leighhack.org/events.ics" title="{{ .Site.Title }} Events">
<link rel="canonical" href="{{ .RelPermalink }}">
<link rel="alternate" type="text/calendar" href="{{ .Site.Params.calendarUrl }}" title="{{ .Site.Title }} Events">
<link rel="canonical" href="{{ .Permalink }}">
{{ if .Page.Store.Get "hasMap" }}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v8.2.0/ol.css">