diff --git a/layouts/partials/author-date.html b/layouts/partials/author-date.html index 10fa659..fd51344 100644 --- a/layouts/partials/author-date.html +++ b/layouts/partials/author-date.html @@ -1,2 +1,3 @@ -{{ with $.Param "author" }} – {{ end -}} - \ No newline at end of file +{{ with .Param "author" }}{{ end -}} +{{ if and .Date (.Param "author") }} - {{ end -}} +{{ with .Date }}{{ end }} \ No newline at end of file