diff options
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/partials/foot.html | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a89ce22..32982a4 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -36,9 +36,9 @@ name = "author" weight = 3 [params] - custom_css = [] + customCSS = [] description = "an example site for hugo theme TeXify" enableFullRSS = true - enable_mathjax = true + enableMathjax = true footnote = "Follow me on <a class=link href=https://github.com/queensferryme>GitHub</a>, <a class=link href=https://twitter.com/queensferryme>Twitter</a> or <a class=link href=/index.xml>RSS</a> | <a class=link href=https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh target=_blank rel=noopener>CC BY-NC-SA 4.0</a>" keywords = ["hugo", "latex", "theme"] diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html index 7bbffa2..f77f2aa 100644 --- a/layouts/partials/foot.html +++ b/layouts/partials/foot.html @@ -1,5 +1,5 @@ <!-- custom css --> -{{ range .Site.Params.custom_css }} +{{ range .Site.Params.customCSS }} <link media="screen" rel="stylesheet" href="{{ . | absURL }}" /> {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5e86c8c..a56411f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -22,7 +22,7 @@ {{ end }} <!-- mathjax --> -{{ if .Site.Params.enable_mathjax }} +{{ if .Site.Params.enableMathjax }} {{ partial "mathjax.html" . }} {{ end }} |