Mimi
Mimi
Perhaps we could add a new per-site option to the `_config.yml` to turn this on or off @ppwwyyxx
See also https://github.com/hexojs/hexo/issues/3245
I cannot reproduce the bug 😢
Relevant pull request: https://github.com/hexojs/hexo/pull/4869
@BRAVO68WEB You can submit your theme here: https://github.com/hexojs/site/pulls
The data type of post.prev is also post (it's like a linked list), so you can write like this ```js let target = post.next; while (target.categories.data[0].name !== 'your_category' && target.next)...
> We should not treat hexo-theme- prefixed package as a hexo plugin. Is there a good way to handle this situation? Plugin: https://www.npmjs.com/package/hexo-theme-next-anchor Theme: https://www.npmjs.com/package/hexo-theme-next
IMHO, distinguishing between a theme and a plugin is not complicated, you just need to determine whether a `layout` directory exists - it is a pity to deprecate some modules...
When executing `hexo clean`, `customThemeName` here is always the default value `landscape` https://github.com/hexojs/hexo/blob/14890743dd00e1a1e7c4bd9c7ef632f609d35a4c/lib/hexo/load_plugins.js#L44-L45 This will cause Hexo to load all themes except landscape as plugins. See also https://github.com/next-theme/hexo-theme-next/issues/65 CC @hexojs/core
Like categories or tags?