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

Feature: hyperlink between pages #14

Open
MichaelCurrin opened this issue Jul 25, 2019 · 2 comments
Open

Feature: hyperlink between pages #14

MichaelCurrin opened this issue Jul 25, 2019 · 2 comments

Comments

@MichaelCurrin
Copy link

Add instructions (or functionality if it doesn't exist yet) to link in the JS between pages. e.g. How to link to page a.html or b/c.html from within index.html.

jekyll uses a page system for the link function, so you have to just know the path to the .md file in the project and it will figure out the HTML path for you.

@shailen-naidoo
Copy link
Collaborator

@MichaelCurrin Can you provide a bit more context about the feature? Do you mean that if I reference the file /docs/index.js Hydrogen would automatically infer that as /docs/index.html?

@MichaelCurrin
Copy link
Author

Correct. One should only provide the path to the file (this relative to project root) and the function should figure what the browser path should be.

@shailen-naidoo shailen-naidoo added this to 💡 Ideas in Hydrogen Development Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Hydrogen Development
  
💡 Ideas
Development

No branches or pull requests

2 participants