From 3044b66a6e2d717b793c510fb3b24342023db673 Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Thu, 3 Dec 2020 23:56:28 +0100 Subject: [PATCH] Remove lonely closing p tag --- themes/maik-blog/layouts/_default/single.html | 104 ++++++++++-------- 1 file changed, 59 insertions(+), 45 deletions(-) diff --git a/themes/maik-blog/layouts/_default/single.html b/themes/maik-blog/layouts/_default/single.html index 21bce3b..f8808a2 100644 --- a/themes/maik-blog/layouts/_default/single.html +++ b/themes/maik-blog/layouts/_default/single.html @@ -1,52 +1,66 @@ {{ define "main" }} -
- - +
-
-

{{ .Title | markdownify }}

+ - {{- if .Params.toc }} -
- -
- {{- end }} +
+

{{ .Title | markdownify }}

- {{ with .Params.Cover }} - - {{ end }} + {{- if .Params.toc }} +
+ +
+ {{- end }} -
- {{ .Content }} -
-
+ {{ with .Params.Cover }} + + {{ end }} -
+
+ {{ .Content }} +
+
+ +
+ +
-{{ end }} + {{- if .GitInfo }} +

+ + + + {{ .GitInfo.AbbreviatedHash }} @ + {{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }} +

+ {{- end }} + +
+{{ end }} \ No newline at end of file