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

Add custom anchor to download-section.html, and use it to fix link on previews download page #1000

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JimmyCushnie
Copy link
Contributor

Alternative to #999.

There's a link at the top of the previews download page which says "Looking for a stable version? See below!"

This link is supposed to scroll the page to the section lower down where you can download the stable version. However, currently this link doesn't work because it points to an anchor that no longer exists.

The old anchor, #stable, was removed in bb0f0a4, when download-section.html was consolidated.

This PR lets you set a custom anchor when you include download-section.html, and does so in preview.html to restore the broken link.

… preview.html

There's a link at the top of the previews download page which says "Looking for a stable version? See below!"

This link is supposed to scroll the page to the section lower down where you can download the stable version. However, prior to this commit, the link doesn't work because it points to an anchor that no longer exists.

The link points to #stable. However, the actual anchor, as defined in download-section.html, is #call-to-action.

This commit lets you set a custom anchor when you include download-section.html, and does so in preview.html to fix the broken link.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant