D0n9X1n / hexo-blog-encrypt

Yet, just another hexo plugin for security.
https://www.npmjs.com/package/hexo-blog-encrypt
MIT License
971 stars 101 forks source link

Add event when blog decrypted #206

Closed f-dong closed 1 year ago

f-dong commented 1 year ago

PR

Issue Fixed #

Proposed Changes

在文章成功解密之后,抛出自定义事件,以支持主题内部监听解密状态,进行初始化页面等操作。

After successfully decrypting the article, a custom event is triggered to support internal theme listeners for initializing the page and other operations.

https://github.com/f-dong/hexo-theme-minimalism/issues/21

D0n9X1n commented 1 year ago

Nice job!