Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Linking #47

Open
kerrywuhoo opened this issue Jan 24, 2020 · 4 comments
Open

Internal Linking #47

kerrywuhoo opened this issue Jan 24, 2020 · 4 comments

Comments

@kerrywuhoo
Copy link

I may be just overlooking something, but I'm still super new to webdev. But when you click on the "check out my awesome work." on the about me page it should pop open the work article right? But the link https://gatsby-dimension.surge.sh/#work just goes to the homepage and not the work article.

@ChangoMan
Copy link
Member

Thanks Kerry, the site currently isn't hooked up to open the proper article based on a direct link. I may try to add this feature in the future if enough people request it.

Basically you need to detect the window.location url and if there is something like #work in the url, then you have that article open up on page load. You could try to hook that up if you want.

@smw-wagnerma
Copy link

I also vote for this feature, internal linking from a word or text line is often need, for example moving directly from an article to the contact form, or from a word on the landing page directly to an article.

@DevS1993
Copy link

@ChangoMan Are you accepting PR's?

I am using this starter for my personal portfolio (thanks btw 😄) and through state i am able to switch between articles. I can extract that code and submit a PR.

@jeremydulong
Copy link

@DevS1993 Are you able to share that code somehow? I do want to use it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants