diff --git a/themes/sourcehut/calendar.html b/themes/sourcehut/calendar.html new file mode 100644 index 0000000..987e716 --- /dev/null +++ b/themes/sourcehut/calendar.html @@ -0,0 +1,53 @@ +{{template "head.html"}} +{{template "nav.html" .Global}} + +
+
+
+

{{.Time.Format "January 2006"}}

+ +
+
+
+
+
+
+ +
+
+ {{if .Events}} + + {{else}} +

No events.

+ {{end}} + +

+ Previous month + · Next month +

+
+
+
+ +{{template "foot.html"}} diff --git a/themes/sourcehut/event.html b/themes/sourcehut/event.html new file mode 100644 index 0000000..6290742 --- /dev/null +++ b/themes/sourcehut/event.html @@ -0,0 +1,37 @@ +{{template "head.html"}} +{{template "nav.html" .Global}} + +{{$event := index .Event.Data.Events 0}} + +
+
+
+

{{$event.Summary}}

+ +
+
+
+ +
+ + +
{{$event.Description}}
+
+ +{{template "foot.html"}}