aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2022-06-14 23:06:12 -0500
committerYihui Xie <xie@yihui.name>2022-06-14 23:06:12 -0500
commit17b5095d5ab7c98ce0e5b32a00add32f4e59a047 (patch)
tree2abc64f2ce93c36c3e703a1203109e4b58124172
parent288e57b3d2981beec9b96d39dfcaa0908e226ef7 (diff)
downloadzk-theme-17b5095d5ab7c98ce0e5b32a00add32f4e59a047.tar.gz
zk-theme-17b5095d5ab7c98ce0e5b32a00add32f4e59a047.zip
document {Year} in footer
-rw-r--r--exampleSite/content/about.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
index eab0811..050e4dc 100644
--- a/exampleSite/content/about.md
+++ b/exampleSite/content/about.md
@@ -44,9 +44,11 @@ The page footer can be defined in `.Params.footer`, and the text is treated as M
```
params:
- footer: "&copy; [Yihui Xie](https://yihui.org) 2017 -- 2021"
+ footer: "&copy; [Yihui Xie](https://yihui.org) 2017 -- {Year}"
```
+Here `{Year}` means the year in which the site is built (usually the current year).
+
# Custom layouts
There are two layout files under `layouts/partials/` that you may want to override: `head_custom.html` and `foot_custom.html`. This is how you inject arbitrary HTML code to the head and foot areas. For example, this site has a file `layouts/partials/foot_custom.html` to support LaTeX math via MathJax and center images automatically: