diff --git a/gendates.go b/gendates.go index ec795b3..7b1407e 100644 --- a/gendates.go +++ b/gendates.go @@ -90,6 +90,7 @@ type Config struct { Text string Description string Legal string + ICalLink string Start time.Time End time.Time diff --git a/tpl/assignments.adoc.tpl b/tpl/assignments.adoc.tpl index c709f4c..23f5767 100644 --- a/tpl/assignments.adoc.tpl +++ b/tpl/assignments.adoc.tpl @@ -12,3 +12,6 @@ {{end}} |=== +{{if .ICalLink }} +These events are in a public calendar you may add to your own calendar software: {{.ICalLink}}[Published iCal Link] +{{end}}