From aa6eb5a51f3bdbc4e7c621d2a36701ef57ce0143 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 7 Jan 2020 18:07:41 +0100 Subject: Make post template microformats-compatible --- layouts/_default/single.html | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9fbe403..54acdc6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,9 +1,9 @@ {{ define "main" }} -
+
-

{{ .Title | markdownify }}

+

{{ .Title | markdownify }}

{{ with .Params.author }}

{{ . }}

{{ end }} - {{ if (gt .Params.date 0) }}

{{ .Date.Format "2006-01-02" }}

{{ end }} + {{ if (gt .Params.date 0) }}{{ end }}

{{ range $i := (slice "categories" "tags") }} {{ with ($.Param $i) }} @@ -13,12 +13,8 @@

-
+
{{ .Content }}
- -
{{- end }} -- cgit 1.4.1