diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 62bbf0e..21ac5ab 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -26,7 +26,7 @@ {{ .Date.Format "2006-01-02" }} :: {{ end }} - {{ with .Params.Author }} + {{ with $.Param "author" }} {{ . }} {{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6a469bd..fcbf824 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -16,7 +16,7 @@ {{ .Date.Format "2006-01-02" }} :: {{ end }} - {{ with .Params.Author }} + {{ with $.Param "author" }} {{ . }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f85fc5d..2559513 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,7 +12,7 @@ {{ end }} {{ end }} - {{ with .Params.Author }} + {{ with $.Param "author" }} {{ . }} {{ end }} {{ if and (.Param "readingTime") (eq (.Param "readingTime") true) }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 9352d88..6affc8c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -48,7 +48,7 @@ {{ if (isset $.Site.Params.Twitter "site") }} {{ end }} - + {{ end }}