盘点本博客使用的插件

本文盘点了两个用于Hexo博客的插件:1) 'hexo-blog-encrypt',用于加密博客文章或页面,提供密码保护;2) 'hexo-helper-live2d',引入了看板娘功能,增加博客互动性。详细安装和配置方法及插件仓库链接已提供。
摘要由CSDN通过智能技术生成

本人博客地址: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字段

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值