214 字
1 分钟
Next 2 版权声明
2021-12-14

前言#

在 next 中,是包含有版权声明的内容的,只是默认不展示,需要我们进行额外配置。

配置文件#

配置文件方面,可以参考我的配置,并没有太多内容:

# 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: big
sidebar: true
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:
参数详细
license版权声明,一般就是默认1
size图标大小
sidebartrue:在侧边栏中显示
posttrue:在文章中显示

效果展示#

在侧边栏中的版权声明:

Next 侧边栏 版权声明

在文章末尾的版权声明:

Next 文章 版权声明

Footnotes#

  1. About CC Licenses

Next 2 版权声明
https://fuwari.vercel.app/posts/建站/hexo/next-2-版权声明/
作者
Asuwee
发布于
2021-12-14
许可协议
CC BY-NC-SA 4.0