Hexo: 声明博客的许可协议

Hexo 博客可以声明许可协议,在 creativecommons 网站上找适合自己的许可。

常用的许可协议如下:

  • CC BY(署名)
  • CC BY-SA(署名-相同方式共享)
  • CC BY-ND(署名-禁止演绎)
  • CC BY-NC(署名-非商业性使用)
  • CC BY-NC-SA(署名-非商业性使用-相同方式共享 )
  • CC BY-NC-ND(署名-非商业性使用-禁止演绎)

关于以上协议的解释详见 https://creativecommons.org/licenses/

本博客计划使用 CC BY-SA 协议。

关于CC BY-SA协议

You are free to:

Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Under the following terms:

Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

简单的说, CC BY-SA 协议允许其它人下载、发行、修改,即使是出于商业目的,但必须给出原创出处并指明原创身份,他人发行此作品采取的许可必须和原创作者采取的许可相同。

设置网站的许可协议

修改主题配置文件 /d/hexo/themes/next/_config.yml 如下参数:

1
2
3
4
5
# Declare license on posts
post_copyright:
enable: true
license: CC BY-SA 4.0
license_url: https://creativecommons.org/licenses/by-sa/4.0/

之后刷新博客,如下。

1
2
hexo g
hexo d

验证

之后博客的每篇文章的底部显示许可信息,如下:

参考

最后推荐和张文升共同编写的《PostgreSQL实战》,本书基于PostgreSQL 10 编写,共18章,重点介绍SQL高级特性、并行查询、分区表、物理复制、逻辑复制、备份恢复、高可用、性能优化、PostGIS等,涵盖大量实战用例!

购买链接:https://item.jd.com/12405774.html

PostgreSQL实战
感谢支持!
0%