{{ if .Param "image" }}
@@ -28,7 +38,13 @@
{{ .Param "eventcalendar" }}
{{ .Content }}
- ++ {{ if and ($t.After now) }} + Registration + {{ else }} + Access event content + {{ end }} +
diff --git a/themes/openpowerfoundation/layouts/events/list.html b/themes/openpowerfoundation/layouts/events/list.html index 301bd1a..777e4ce 100644 --- a/themes/openpowerfoundation/layouts/events/list.html +++ b/themes/openpowerfoundation/layouts/events/list.html @@ -5,9 +5,19 @@
{{ .Content }}
- ++ {{ if and ($t.After now) }} + Registration + {{ else }} + Access event content + {{ end }} +