From a6e116452f8d3f0e043107a1e0d047256514457b Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Wed, 31 Jan 2018 22:39:16 +0800 Subject: feat: add `postMetaInFooter` param add `postMetaInFooter` param to control the `contentCopyright` container, and now you can show the author and lastMod information without displaying the license. --- exampleSite/config.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index cabab6b..d5691a4 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -67,9 +67,10 @@ copyright = "" # default: author.name ↓ # 默认为下面配 fancybox = true # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击) mathjax = false # see https://www.mathjax.org/ # 是否使用mathjax(数学公式) mathjaxEnableSingleDollar = false # 是否使用 $...$ 即可進行inline latex渲染 - linkToMarkDown = false # if you config contentCopyright and hugo output .md files. # 是否在链接到markdown原始文件(如果你配置了下面的许可协议并允许hugo生成markdown文件) - contentCopyright = 'CC BY-NC-ND 4.0' + postMetaInFooter = true # contain author, lastMod, markdown link, license # 包含作者,上次修改时间,markdown链接,许可信息 + linkToMarkDown = false # Only effective when hugo will output .md files. # 链接到markdown原始文件(仅当允许hugo生成markdown文件时有效) + contentCopyright = '' # e.g. 'CC BY-NC-ND 4.0' changyanAppid = "" # Changyan app id # 畅言 changyanAppkey = "" # Changyan app key -- cgit v1.2.3