From 0da6ee8846f597ac897646a2f33521a1efe0655c Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Sat, 6 Jun 2020 18:16:00 -0400 Subject: Initial work on theme --- layouts/partials/titleblock.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 layouts/partials/titleblock.html (limited to 'layouts/partials/titleblock.html') diff --git a/layouts/partials/titleblock.html b/layouts/partials/titleblock.html new file mode 100644 index 0000000..e2f4549 --- /dev/null +++ b/layouts/partials/titleblock.html @@ -0,0 +1,10 @@ +

{{ .Title | markdownify }}

+

+{{ if (gt .Params.date 0) }} {{ .Date.Format "January 2, 2006" }} {{ end }} {{ if (gt .Params.author 0) }} by {{ with .Params.author }} {{ . }} {{ end }} {{ end }}
+{{ range $i := (slice "categories" "tags") }} +{{ with ($.Param $i) }} +{{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }}
+{{ end }} +{{ end }} +

+
-- cgit v1.2.3