From a4040547736578f6baf05b41b6a5ecd52ff2f77b Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Sun, 28 Oct 2018 19:27:00 +0100 Subject: Use .Site.Author.name in footer instead of .Site.Params.Author Hugo provides an Author site variable that can be set in the site configuration. Instead of setting the author variable in the params, section from this commit on, you have to use the name variable in the Author section. This adheres more to Hugo standards. See README.MD for an example. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index ac7744a..fb5abbf 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,15 @@ These are included in the template for a single post, at the top of the post (be This partial is included at the top of the list of posts on the index page, allowing you to add an introduction to your site. +### Copyright message + +The copyright message in the footer uses the name of the author of the site, as defined in `config.toml`. For example: + +``` +[Author] + name = "Emiel" +``` + ## Acknowledgments Thanks -- cgit v1.2.3