diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1a276fa..16a35f1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,6 +9,11 @@ {{ end }} {{define "aside" }} -

{{ .Params.description }}

-

By {{ .Params.author }}, {{ .Date.Format "2 January 2006" }}

+ {{ if .Params.description }}

{{ .Params.description }}

{{ end }} + {{ if or (.Params.author) (.Params.date) }} +

+ {{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }} + {{ if .Date }}{{ .Date.Format "2 January 2006" }}{{ end }} +

+ {{ end }} {{ end }}