Next主题开启文末版权声明

技术分享是自由的,但是也要尊重知识的 “源头们”

添加版权声明的难度并不大,下面是配置方法 :

_config.next.yml 找到 creative_commons 配置项,将其中的post选项改为true 即可

1
2
3
4
5
6
7
8
9
10
11
12
# Creative Commons 4.0 International License.
# See: https://creativecommons.org/about/cclicenses/
creative_commons:
# Available values: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | cc-zero
license: by-nc-sa
# Available values: big | small
size: small
sidebar: false
post: true
# You can set a language value if you prefer a translated version of CC license, e.g. deed.zh
# CC licenses are available in 39 languages, you can find the specific and correct abbreviation you need on https://creativecommons.org
language:

默认只是这种比较简单的版权声明,已经够用,如果想要更加个性化,还要修改layout下的相关文件,这里就不进行配置了,意义不大