BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Hugo Calendar Templates//Event Template//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
UID:9bb895036b6310e4f2dbf282f8a90a1a
LAST-MODIFIED:20260619T083149Z
URL:https://finkregh.github.io/hugo-theme-component-ical/events/event_13_external_link/
REFRESH-INTERVAL;VALUE=DURATION:P1W
SOURCE;VALUE=URI:https://finkregh.github.io/hugo-theme-component-ical/events/event_13_external_link/calendar.ics
COLOR:crimson
NAME;LANGUAGE=en:Example Events
DESCRIPTION;LANGUAGE=en:Example Events Calendar
X-WR-CALNAME:Example Events
X-WR-CALDESC:Example Events Calendar
BEGIN:VTIMEZONE
TZID:Europe/Zurich
LAST-MODIFIED:20260203T210914Z
TZURL:https://www.tzurl.org/zoneinfo-outlook/Europe/Zurich
X-LIC-LOCATION:Europe/Zurich
BEGIN:DAYLIGHT
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:00010101T000000Z
UID:9bb895036b6310e4f2dbf282f8a90a1a
DTSTART;VALUE=DATE-TIME;TZID=Europe/Zurich:20260915T090000
CLASS:PUBLIC

DESCRIPTION;LANGUAGE=en:This event demonstrates the external URL feature\, which allows calendar events to link to external websites instead of the local Hugo page.\nExternal URL Feature When you specify externalUrl in the front matter\, the generated iCalendar file will use that URL instead of the local Hugo page permalink. This is useful for:\nExternal conferences or events hosted elsewhere Registration pages on third-party platforms Zoom/Teams links for virtual meetings Ticketing systems like Eventbrite Front Matter title: "Hugo Conference 2026" startDate: "2026-09-15T09:00:00" endDate: "2026-09-15T17:00:00" where: "Virtual Conference" # Use 'where'\, not 'location' orga: "Hugo Community" orgaEmail: "contact@gohugo.io" externalUrl: "https://gohugo.io/conference/2026/" # External link Implementation The URL property in the iCalendar template uses:\n"url": (or .Params.externalUrl ((.OutputFormats.Get "HTML").Permalink)) This means:\nIf externalUrl is specified → use external URL If externalUrl is empty → fallback to local Hugo page The URL becomes the URL property in the generated .ics file Try It Download the calendar file and import it into your calendar app - clicking on the event will take you to the external Hugo conference website instead of this demo page.
LAST-MODIFIED:20260619T083149Z
LOCATION;LANGUAGE=en:Virtual Conference
STATUS:CONFIRMED
SUMMARY;LANGUAGE=en:Hugo Conference 2026
TRANSP:OPAQUE
URL:https://gohugo.io/conference/2026/

DTEND;VALUE=DATE-TIME;TZID=Europe/Zurich:20260915T170000
CONTACT;LANGUAGE=en:Hugo Community: contact@gohugo.io
COLOR:crimson
END:VEVENT
END:VCALENDAR