Ming Di Leom

Results 28 issues of Ming Di Leom

- some errors are not gracefully handled by [`formatNunjucksError`](https://github.com/hexojs/hexo/blob/bbf09ac00f67a7f943d6be2e473e1242da9383e6/lib/extend/tag.js#L162), hence affected lines are not shown. - this PR adds some examples of common mistake in using tag plugin. - related...

Closes #581 ## Check List **Please read and check followings before submitting a PR.** - [ ] I want to publish my theme on Hexo official website. - [ ]...

## Check List **Please read and check followings before submitting a PR.** - [x] Others (Update, fix, translation, etc...) https://github.com/hexojs/hexo/pull/3922

- refactor: replace Font-Awesome with Fork-Awesome * Font-Awesome 5 has weird syntax; Fork-Awesome uses Font-Awesome v4 syntax. * icon is now specified using `` which is more readable than unicode...

Serve pre-compressed assets when found, else fallback to dynamic compression (when both `compress` and `pre_compressed` are enabled). `compress` is independent from `pre_compressed`, so either one can be enabled. Adapted from...

ref: https://github.com/hexojs/hexo/pull/4479 this enhances [`path.join()`](https://nodejs.org/api/path.html#path_path_join_paths) to convert slash, but this `joinPath()` doesn't resolve '../' yet.

to deal with Windows path, see https://github.com/hexojs/hexo/pull/4479/files#r470968350 `url_for()` deals with relative URLs, which should never have backward slash. `full_url_for()` doesn't need to update because `encodeURL()` already have conversion in place...

a notable example is Github Pages with project page, e.g. https://github.com/OpenTechSchool/social-coding corresponds to https://opentechschool.github.io/social-coding/. Project page always have a trailing slash, accessing `https://opentechschool.github.io/social-coding` will 301-redirect to `https://opentechschool.github.io/social-coding/`. So, in this...