Phil 217e4a5de5
Some checks failed
Build Hugo Site / build (push) Failing after 19s
Initial commit: Hugo static site for nerdy events
- Custom cyberpunk/console theme with pure CSS
- Event management with RSS and iCal calendar feeds
- Gitea workflow for automated deployment
- Complete documentation and setup instructions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-04 13:53:50 -06:00

48 lines
1.3 KiB
Plaintext

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//NERDER.LAND//Event Calendar//EN
NAME:{{ .Title }}
X-WR-CALNAME:{{ .Title }}
TIMEZONE-ID:America/Denver
BEGIN:VTIMEZONE
TZID:America/Denver
BEGIN:DAYLIGHT
TZOFFSETFROM:-0700
TZOFFSETTO:-0600
TZNAME:MDT
DTSTART:20250309T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0600
TZOFFSETTO:-0700
TZNAME:MST
DTSTART:20251102T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:{{ .File.UniqueID }}@{{ .Site.BaseURL | replaceRE "^https?://" "" }}
DTSTART;TZID=America/Denver:{{ .Params.date | dateFormat "20060102T150405" }}
{{- if .Params.end_date }}
DTEND;TZID=America/Denver:{{ .Params.end_date | dateFormat "20060102T150405" }}
{{- else }}
DTEND;TZID=America/Denver:{{ .Params.date.Add (time.ParseDuration "2h") | dateFormat "20060102T150405" }}
{{- end }}
DTSTAMP:{{ now | dateFormat "20060102T150405Z" }}
SUMMARY:{{ .Title }}
DESCRIPTION:{{ .Content | plainify | replaceRE "\n" "\\n" | replaceRE "," "\\," }}
{{- if .Params.location }}
LOCATION:{{ .Params.location | replaceRE "," "\\," }}
{{- end }}
URL:{{ .Permalink }}
{{- if .Params.organizer }}
ORGANIZER:{{ .Params.organizer | replaceRE "," "\\," }}
{{- end }}
{{- if .Params.contact }}
CONTACT:{{ .Params.contact | replaceRE "," "\\," }}
{{- end }}
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR