Mimi

Results 399 comments of Mimi

Another issue is that when calculating relative paths, sometimes `substring` is used and sometimes `relative` is used. This inconsistency also needs to be addressed and fixed in the future.

It's tricky to cover this situation with unit tests, need to hook `process.argv` somehow

I remember https://github.com/hexojs/hexo/pull/3624 was to solve a problem https://github.com/theme-next/hexo-theme-next/pull/42, and the https://github.com/hexojs/hexo/pull/5119 was to speed up rendering. The problem wasn't completely solved, and we will need to consider better solutions...

You can try to override `hexo.log.error` function, to make it terminate the process with non-zero exit code.

If you have only a few blog articles, you can manually use the `post_link` tag to link to different articles. If you want to automate this process, you may need...

We could use post excerpt as `twitter:description` in `open_graph` helper. Source code: https://github.com/hexojs/hexo/blob/cb19b2938d1f7882a4cb41a98974a3d673a63b45/lib/plugins/helper/open_graph.js#L151-L170

The front-matter configuration should be kept by the following code: https://github.com/hexojs/hexo/blob/cb19b2938d1f7882a4cb41a98974a3d673a63b45/lib/hexo/post.js#L340 It's strange that the tags are overwritten to defaults...

@neverbot I cannot reproduce. The source code of Hexo also suggests that the front-matter should not be overwritten.

You can use post_link tag instead. It's not recommended to write relative link to another post.

~~WIP: I'll rebase it after https://github.com/hexojs/hexo/pull/5385 and https://github.com/hexojs/hexo/pull/5457 merged~~ Done