From 85473656174b1b1d6221d3bb76cc12fa5f7f7e8d Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Fri, 1 Jan 2021 14:46:54 +0100 Subject: Initial commit --- templates/root.html | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 templates/root.html (limited to 'templates/root.html') diff --git a/templates/root.html b/templates/root.html new file mode 100644 index 0000000..abc66bf --- /dev/null +++ b/templates/root.html @@ -0,0 +1,66 @@ +{{- define "article_meta"}} +
+
+
Published
+
+
+ {{with .Tags}} +
+
Tags
+
+
+ {{end}} +
+{{end -}} +{{- define "article_list"}} + {{range .}} + {{- $year := .Published.Format "2006" -}} + {{- $month := .Published.Format "01" -}} + {{- $day := .Published.Format "02" -}} +
+

{{.Title}}

+ {{template "article_meta" .}} +
{{.Content}}
+ {{if .ReadMore -}} +

Read more ...

+ {{- end}} +
+ {{end}} +{{end -}} + + + + + + + {{with .Title}}{{.}} - {{end}}laria.me + + + + + + + + + + Skip to main content +
+ laria.me + +
+
{{ template "main" .Main }}
+ + + -- cgit v1.2.3-70-g09d2