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 support for relative links in the footer bar #1357

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chriseckhard
Copy link

In my use case, I have a developer information page in my Docsy site that is not in the normal, user-focused menu. I want this to be able to linked in the footer with the other developer links, but currently only links to external websites are allowed.

This change passes the site home context to the footer-links-block and makes it so that any relative links defined in the Site.Params.links are looked up and displayed. It also sets the target to _self for any reference links so that the page opens in the current window instead of another one.

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