aravindballa / gatsby-theme-andy

A Gatsby theme to build Andy style websites. 📑
343 stars 46 forks source link

aliases #26

Open flacchini14 opened 3 years ago

flacchini14 commented 3 years ago

does someone know how to handle aliases?

CFiggers commented 3 years ago

By "alias" you mean linking to a page but having the link text show something different from the name of the page?

I do that like this:

[This is the show text](/this-is-the-markdown-file-name)<!-- [[This is the Normal Markdown Link]] -->

<!-- --> is an HTML comment, so it doesn't show on the rendered page. I do it that way so that the page where the alias link is still shows up in the References on the linked page.