From b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 28 Apr 2022 00:00:00 +0000 Subject: Initial commit --- layouts/partials/footer.html | 4 ++++ layouts/partials/head.html | 9 +++++++++ layouts/partials/header.html | 3 +++ layouts/partials/metadata.html | 9 +++++++++ 4 files changed, 25 insertions(+) create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/metadata.html (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..673e170 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,4 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..2e5db26 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,9 @@ + + + + + + + + {{ $.Site.Title }} + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..391a013 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,3 @@ +
+
{{ $.Site.Params.logo }}
+
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html new file mode 100644 index 0000000..36ae6fb --- /dev/null +++ b/layouts/partials/metadata.html @@ -0,0 +1,9 @@ +{{ range (where .Site.RegularPages.ByTitle "Section" "post").ByPublishDate.Reverse }} +{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" }} +
+
+

{{ .PublishDate.Format $dateFormat }} - {{ .ReadingTime }} minute read
+ {{ .Title }}

+
+
+{{ end }} -- cgit v1.2.3