-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Destination of render-link can't be validated if destination is inside a param #7010
Comments
I don't know if what would you like to see in Hugo will eventually end up there but here is another way how you could do that... If you make your own shortcode for example layouts/shortcodes/prms.html and inside prms.html you have:
this should do the job:
|
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
Instead of:
Do this:
Duplicate of #7416. Please close. |
Thanks for the input. Rendering the param does indeed help, so I will close this issue and keep track of the other one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When we have this markdown file:
and this render-link.html:
The output will be this:
My expectations are that the second link should validate to ´true´ as well. I tried ´print´ to parse the variable, but I could not get the second case to work. Maybe this behaviour can be fixed in an upcoming release. Thanks.
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
yes
The text was updated successfully, but these errors were encountered: