Ming Di Leom

Results 68 comments of Ming Di Leom

> IF there is a technical reason please explain why, else just let enable tags and categories for every single layout: page, post (page), custom layout base on page, etc....

> maybe we can add some default value for skip_render Tested working. I add a test css in `source/css/test.css`. ``` yml skip_render: - '**.css' ``` ``` js // should not...

https://github.com/hexojs/hexo/blob/b7d15b95cb7e48b855f9d4c72bc24078b7b7a505/lib/hexo/post.js#L245-L249 I tried: ``` js return promise.then(content => { data.content = content; // Run "before_post_render" filters if (data.source && data.source.startsWith('_posts/')) return ctx.execFilter('before_post_render', data, { context: ctx }); return }).then(() =>...

Reminds me of [soupault](https://soupault.app/), an SSG that can parse/manipulate HTML. > Integrate htmlnano directly into Hexo. Do you mean [posthtml](https://github.com/posthtml/posthtml) itself instead? htmlnano is just a minifier like hexo-html-minifier, not...

> Using drafts is pretty much indirect, messy and dangerous way. I find the current approach of putting drafts in the `_drafts/` folder to be more organised and much easier...

> Private posts are not drafts, that's completely another feature. I tested https://github.com/hexojs/hexo/pull/4435 and it is functionally similar to drafts? My understanding of a private post is that it is...

> https://github.com/hexojs/hexo/issues/4433#issuecomment-678865598 > If you don’t need the article to be rendered and displayed, you can create a new private repo for storage. I believe that's what OP meant >...

https://github.com/hexojs/hexo-generator-alias/pull/48 seems to be quite close to what you want, unless you prefer not to have the private post's link (/2020/01/02/a-private-post) and its title show up in index page. ```...

> And it is transparently supported on all major blog platforms A reminder that Hexo is a [static site generator](https://www.staticgen.com/) (SSG). I checked other SSGs (Next.js, Hugo, Jekyll, Nuxt.js &...

Since this is already in progress, I'm unpinning this in favor of https://github.com/hexojs/hexo/issues/4260.