diff options
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -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 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2cb6826..3fdfa4f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,5 @@ <footer> <span> - © <time datetime="{{ now }}">{{ now.Format "2006" }}</time> {{ .Site.Params.Author }}. {{ i18n "generator" | safeHTML }} + © <time datetime="{{ now }}">{{ now.Format "2006" }}</time> {{ .Site.Author.name }}. {{ i18n "generator" | safeHTML }} </span> </footer> |