diff --git a/themes/ccchh/layouts/shortcodes/calendar-table.html b/themes/ccchh/layouts/shortcodes/calendar-table.html index ecc37a5..558f824 100644 --- a/themes/ccchh/layouts/shortcodes/calendar-table.html +++ b/themes/ccchh/layouts/shortcodes/calendar-table.html @@ -12,17 +12,17 @@ {{- if eq ._type "vevent"}} {{- $start := time .dtstart }} - {{ time.Format "Mon, 2006-01-02 15:04" $start.Local }} + {{- if eq .status "CANCELLED" }}{{- end }}{{ time.Format "Mon, 2006-01-02 15:04" $start.Local }}{{- if eq .status "CANCELLED" }}{{- end }} {{- $potentialUrl := index (findRE `https?://\S*` .description 1) 0 }} {{- if eq $potentialUrl nil }} - {{ .summary }} + {{- if eq .status "CANCELLED" }}{{- end }}{{ .summary }}{{- if eq .status "CANCELLED" }}{{- end }} {{- else }} - {{ .summary }} + {{- if eq .status "CANCELLED" }}{{- end }}{{ .summary }}{{- if eq .status "CANCELLED" }}{{- end }} {{- end }} {{- if eq .location "Z9" }} - Z9 + {{- if eq .status "CANCELLED" }}{{- end }}Z9{{- if eq .status "CANCELLED" }}{{- end }} {{- else }} - {{ .location }} + {{- if eq .status "CANCELLED" }}{{- end }}{{ .location }}{{- if eq .status "CANCELLED" }}{{- end }} {{- end }} {{- end }}