From 6c5c3e7291aa6252fcbc5da32d84abf9962995b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaud=20Lepr=C3=AAtre?= Date: Mon, 21 Nov 2016 09:38:41 +0100 Subject: [PATCH] Create parameters to customize copyright closes #48 --- docs/user.md | 2 ++ exampleSite/config.toml | 6 +++++- layouts/partials/footer.html | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/user.md b/docs/user.md index 91e86177..70a575ad 100644 --- a/docs/user.md +++ b/docs/user.md @@ -334,6 +334,8 @@ E.g to display a shortcut to open algolia search window : #### Customization +**ATTENTION** not all customizations are documented here, you may checkout [sample config.toml](https://github.com/kakawait/hugo-tranquilpeak-theme/blob/master/exampleSite/config.toml). + ```toml [params] sidebar_behavior = 1 diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 06067db1..c118f84b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -161,4 +161,8 @@ defaultContentLanguage = "en-us" [params.header.right_link] class = "" icon = "" - url = "/#about" \ No newline at end of file + url = "/#about" + + # Customize copyright value "© 2016 . All Rights Reserved" + # [params.footer] + # copyright = "kakawait" \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d5cdd095..2fd132c2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,5 @@