assignments: add ical link to settings

This commit is contained in:
Chris Sexton 2020-01-31 05:20:12 -05:00
parent 228758e9c7
commit 9d1f28cacb
2 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,7 @@ type Config struct {
Text string
Description string
Legal string
ICalLink string
Start time.Time
End time.Time

View File

@ -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}}