From 4085a36db07df2912d3700dbedb0fd72ea0ab26b Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Thu, 23 Dec 2021 11:45:23 +0100 Subject: [PATCH] add event single base page WIP * this is just a beginning to work on further __WORK IN PROGRESS__ Signed-off-by: Toshaan Bharvani --- .../layouts/events/single.html | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 themes/openpowerfoundation/layouts/events/single.html diff --git a/themes/openpowerfoundation/layouts/events/single.html b/themes/openpowerfoundation/layouts/events/single.html new file mode 100644 index 0000000..7c336fd --- /dev/null +++ b/themes/openpowerfoundation/layouts/events/single.html @@ -0,0 +1,20 @@ +{{ partial "header.html" . }} +{{ partial "navbar.html" . }} + +{{ $eventdate := time (.Param "eventdate") }} +{{ $eventdate = $eventdate.Format "Monday, January 2, 2006" }} + +
+
+
+
+

{{ .Title }}

+

{{ $eventdate }} @ {{ .Param "eventplace" }}

+
+
+
+
{{ .Content }}
+
+ +
+{{ partial "footer.html" . }}