diff --git a/layouts/partials/authorname.hugo b/layouts/partials/authorname.hugo index c5532f8640..2e177df33e 100644 --- a/layouts/partials/authorname.hugo +++ b/layouts/partials/authorname.hugo @@ -5,7 +5,7 @@ {{- $authorName = . }} {{- end }} {{- else }} - {{- warnf "%q: DEPRECATED usage of 'params.author' config parameter found, replace it with `params.author.name` in your hugo.toml; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#5230" .File.Filename }} + {{- warnf "DEPRECATED usage of 'params.author' config parameter found, replace it with `params.author.name` in your hugo.toml; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#5230" }} {{- $authorName = .Site.Params.author }} {{- end }} {{- else }}