diff --git a/layouts/posts/single.html b/layouts/posts/single.html index fd278fa..e81dceb 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -10,55 +10,57 @@ {{- define "main" -}} -
- - {{- with index .Params.categories 0 -}} - - {{- end -}} - - - - {{- with .Params.categories -}} -
- {{- range . -}} - {{ . }} - {{- end -}} -
- {{- end -}} - - - -

- {{- .Title -}} -

- - - {{- with .Description -}} -

- {{ . }} -

- {{- end -}} - - - - {{- with .Params.author -}} - {{- $authorPage := site.GetPage (printf "authors/%s" .) -}} - {{- with $authorPage -}} - {{- partial "author-card.html" . -}} +
+
+ + {{- with index .Params.categories 0 -}} + {{- end -}} - {{- end -}} - - + + {{- with .Params.categories -}} +
+ {{- range . -}} + {{ . }} + {{- end -}} +
+ {{- end -}} + + + +

+ {{- .Title -}} +

+ + + {{- with .Description -}} +

+ {{ . }} +

+ {{- end -}} + + + + {{- with .Params.author -}} + {{- $authorPage := site.GetPage (printf "authors/%s" .) -}} + {{- with $authorPage -}} + {{- partial "author-card.html" . -}} + {{- end -}} + {{- end -}} + + + + +