hexo-generator-alias icon indicating copy to clipboard operation
hexo-generator-alias copied to clipboard

Support for anchor tags

Open bennycode opened this issue 3 years ago • 0 comments

I am using "hexo-generator-alias" and have the following redirects defined:

---
alias:
  - error-ts/index.html
  - common-errors/index.html
---

When I go to https://typescript.tv/error-ts/ then I will be redirected to https://typescript.tv/errors/index.html which is great. But when I go to https://typescript.tv/error-ts/#TS2538 then I will land on https://typescript.tv/errors/index.html which should actually become https://typescript.tv/errors/index.html#TS2538

Is it possible to also forward the anchor (in my case #TS2538)?

bennycode avatar Apr 15 '22 15:04 bennycode