mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 09:12:20 +00:00
Parameterise the Calendar iCal link
This commit is contained in:
@@ -20,6 +20,7 @@ company = "Leigh Hackspace CIC"
|
|||||||
company_number = "09404083"
|
company_number = "09404083"
|
||||||
copyright_years = "2023"
|
copyright_years = "2023"
|
||||||
description = "Leigh Hackspace is a hackspace located in the north-west of England."
|
description = "Leigh Hackspace is a hackspace located in the north-west of England."
|
||||||
|
calendarUrl = "https://api.leighhack.org/events.ics"
|
||||||
|
|
||||||
[params.social]
|
[params.social]
|
||||||
twitter = 'leigh_hackspace'
|
twitter = 'leigh_hackspace'
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
<meta name="theme-color" content="#ffffff">
|
<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="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="alternate" type="text/calendar" href="{{ .Site.Params.calendarUrl }}" title="{{ .Site.Title }} Events">
|
||||||
<link rel="canonical" href="{{ .RelPermalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
|
||||||
{{ if .Page.Store.Get "hasMap" }}
|
{{ if .Page.Store.Get "hasMap" }}
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v8.2.0/ol.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v8.2.0/ol.css">
|
||||||
|
|||||||
Reference in New Issue
Block a user