From dae85169e5e40f75ec77fa0c8635155a0f82dd62 Mon Sep 17 00:00:00 2001 From: noxil Date: Wed, 17 Jul 2024 02:14:51 +0200 Subject: [PATCH] feat(calender): style html representation --- layouts/events/single.html | 48 ++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/layouts/events/single.html b/layouts/events/single.html index 010c892..ad0cd72 100644 --- a/layouts/events/single.html +++ b/layouts/events/single.html @@ -1,31 +1,33 @@ {{ define "main" }}
-

{{ .Title }} ({{ time.Format "January 2, 2006" .Params.start }})

+

+ calendar_month {{ .Title }} {{ time.Format "02 Jan 2006" .Params.start }} +

-
-

{{ .Content | markdownify }}

+
+

{{ .Content | markdownify }}

-
- - - event -

- location_on{{ .Params.location }} -

- {{ if .Params.repeat }} -

- event_repeatEvent happens regularly -

- {{ end }} -

- schedule{{ time.Format "2 Jan 2006 15:04" .Params.start }} -
- - {{ time.Format "2 Jan 2006 15:04" .Params.end }} -

-

- sell{{ .Params.category }} -

+
+
+ location_on +

{{ .Params.location }}

+
+
+ schedule +

+ {{ time.Format "2 Jan 2006 15:04" .Params.start }} +
+ - {{ time.Format "2 Jan 2006 15:04" .Params.end }} +

+
+
+ sell +

{{ .Params.category }}

+