Skip to content

How to use before_post_render filter #4879

Discussion options

You must be logged in to vote

@lisongyuan99
I assume it is caused by the cache. Hexo has the cache (db.json).
The before_post_render is perhaps trigger once after change a post.

Please try hexo clean if you want to trigger before_post_render without change a post. (Also, you can delete it manually)

https://hexo.io/docs/commands#clean

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lsy0xcc
Comment options

Comment options

You must be logged in to vote
1 reply
@lsy0xcc
Comment options

Answer selected by lsy0xcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants