本人博客地址:brook1711.com
盘点本博客使用的插件
1、加密文章或页面
{% btn https://github.com/D0n9X1n/hexo-blog-encrypt, hexo-blog-encrypt, 插件GitHub仓库地址 %}
加入方法
npm install --save hexo-blog-encrypt
输入命令行直接安装包
使用时直接在/source/_post/*.md
文件头部加入:
---
title: Hello World
date: 2016-03-30 21:18:02
password: mikemessi
abstract: Here's something encrypted, password is required to continue reading.
message: Hey, password is required here.
wrong_pass_message: Oh, this is an invalid password. Check and try again, please.
wrong_hash_message: Oh, these decrypted content cannot be verified, but you can still have a look.
---
password字段即为加密该post页面的密码
abstract为出入密码框中的默认字段
wrong_pass_message和wrong_hash_message字段