Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2017-06-17 06:54:36 +0300
committerYihui Xie <xie@yihui.name>2017-06-17 06:54:36 +0300
commit307a0a9153e55e86954f4e7b8726cc92c172e19e (patch)
treec624f273b28f3ba094e0e3b3e664fb067b167e07 /exampleSite
parentd023e3b56011d349703373540dff5cf7e50beb85 (diff)
rename copyright to footer, since the variable copyright is used in the RSS feed
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml2
-rw-r--r--exampleSite/content/about.md4
2 files changed, 3 insertions, 3 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 = "&copy; [Yihui Xie](https://yihui.name) 2017 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
+ footer = "&copy; [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 = "&copy; [Yihui Xie](https://yihui.name) 2017"
+ footer = "&copy; [Yihui Xie](https://yihui.name) 2017"
```
# Custom layouts