Encrypt Posts

Article Encryption

This theme comes with the hexo-blog-encrypt plugin, allowing you to encrypt your articles. Encrypted articles can only be accessed with the correct password.

If you have previously installed the hexo-blog-encrypt plugin using npm, please use the following command to uninstall it:

npm uninstall hexo-blog-encrypt

Removing this plugin is essential to ensure the smooth functioning of the theme's built-in features.

Quick Guide

To quickly encrypt an article, add a password field with your desired password to the article's Front-matter section.

---
title: Article Title
date: 2020-01-01 00:00:00
password: hello
---

Advanced Usage

As this plugin is built upon the hexo-blog-encrypt plugin, you can take advantage of all the functionalities provided by hexo-blog-encrypt, except for theme-related modifications.

For more comprehensive information, please refer to the plugin documentation: hexo-blog-encrypt (opens in a new tab)

Effect