From 8cb6a3007590117228191d89052c9c2a6277ee7c Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 3 Jan 2022 14:15:14 +0000 Subject: added blank home page template and updated copyright year --- layouts/blog/single.html | 17 +++++++++++++++++ layouts/index.html | 22 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 layouts/blog/single.html create mode 100644 layouts/index.html (limited to 'layouts') diff --git a/layouts/blog/single.html b/layouts/blog/single.html new file mode 100644 index 0000000..cd92323 --- /dev/null +++ b/layouts/blog/single.html @@ -0,0 +1,17 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+
+ {{- if isset .Params "date" -}} + {{ if eq .Lastmod .Date }} + + {{ else }} + Updated + {{ end }} + {{- end -}} +
+
+ {{- .Content -}} +
+{{ end }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..de7fa73 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,22 @@ + +{{ define "main" }} +
+
+

{{.Title}}

+ {{ with .Params.subtitle }} + {{.}} + {{ end }} +
+
+ + {{.Content}} +
+
+ {{ range first 10 .Site.RegularPages }} + {{ .Render "summary"}} + {{ end }} +
+
+{{ end }} + + -- cgit v1.2.3