Giter Site home page Giter Site logo

hexo-generator-alias's People

Contributors

curbengh avatar dependabot-preview[bot] avatar dependabot[bot] avatar dsolovay avatar joezimjs avatar renbaoshuo avatar segayuu avatar stevenjoezhang avatar sukkaw avatar tomap avatar tommy351 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-generator-alias's Issues

Include <meta> properties in alias pages

We're using hexo-generator-alias to generate short links for use on social media. Sadly the generated pages do not include the <meta> properties which have a great influence on how links are displayed in Facebook, Twitter, etc. Is there a way to include those in the alias pages?

Fatal error with hexo 3 ?

This plugin seems failed with hexo 3. Here goes the testing.

$ hexo init testalias
$ cd testalias
$ npm install
$ npm install hexo-generator-alias --save
$ hexo s

Then you get FATAL Something's wrong.

TypeError: undefined is not a function
...

URLs end with /index.html

URLs end with index.html, which differs from normal Hexo URLs, which end with a slash.

This is fixed with #5

Support for anchor tags

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)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.