How to filter the post that titis is empty #5576
Unanswered
liunaijie
asked this question in
Question / Answer
Replies: 1 comment 1 reply
-
|
Hexo allows posts to have empty titles, so it doesn't perform any special handling for them. If you want to hide these posts, you can set |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When generate post, it will read all files under
_postsfolder, I want to filter some file that not write thetitle.I try to use
Filterfunction to do this, I write a simple code like this and post it toscripts/filterNoTitle.jsWhen run this, it can list the file that title is empty, but It will get exception like this
It looks the downstream
Filterstill run.Beta Was this translation helpful? Give feedback.
All reactions