about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.toml2
-rw-r--r--exampleSite/content/about.md4
-rw-r--r--layouts/partials/footer.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index e262bb7..2c6497a 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -33,4 +33,4 @@ footnotereturnlinkcontents = "↩"
 
 [params]
     description = "A website built through Hugo and blogdown."
-    copyright = "© [Yihui Xie](https://yihui.name) 2017 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
+    footer = "© [Yihui Xie](https://yihui.name) 2017 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
index 393d5ee..949c9a8 100644
--- a/exampleSite/content/about.md
+++ b/exampleSite/content/about.md
@@ -43,11 +43,11 @@ You can define the menu through `menu.main`, e.g.,
 
 Alternatively, you can add `menu: main` to the YAML metadata of any of your pages, so that these pages will appear in the menu.
 
-The page footer can be defined in `.Params.copyright`, and the text is treated as Markdown, e.g.,
+The page footer can be defined in `.Params.footer`, and the text is treated as Markdown, e.g.,
 
 ```
 [params]
-    copyright = "© [Yihui Xie](https://yihui.name) 2017"
+    footer = "© [Yihui Xie](https://yihui.name) 2017"
 ```
 
 # Custom layouts
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index a1993aa..3f46ea5 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,6 @@
   <footer>
   {{ partial "foot_custom.html" . }}
-  {{ with .Site.Params.copyright }}
+  {{ with .Site.Params.footer }}
   <hr/>
   {{ . | markdownify }}
   {{ end }}