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

node.link when siteUrl isn't / #25

Open
haabe opened this issue Jan 12, 2017 · 0 comments
Open

node.link when siteUrl isn't / #25

haabe opened this issue Jan 12, 2017 · 0 comments

Comments

@haabe
Copy link

haabe commented Jan 12, 2017

node.link starts with /, so when the craft project isn't located in root, the meny links to the wrong folder.

A workaround for me was to use { siteUrl | trim('/') }}{{ node.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

No branches or pull requests

1 participant