-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
variables do not work with hasPrefix inside render-link #12929
Comments
I'm pretty sure |
It works before. Ans this snippet is not working as earlier. If link inside markdown is |
my actual snippet (without debug code) is
|
I am not able to reproduce the problem as described. Try it:
|
Indeed, this minimal example is working correct. What can go wrong in my case? |
Does one of your Markdown links use a shortcode for the destination? For example:
|
Well, I found the minimal repoducer based on your branch: https://github.com/knutov/hugo-testing/tree/hugo-github-issue-12929 |
yes, it's |
Use the |
It works! Thanks! Is it about https://gohugo.io/content-management/shortcodes/#shortcodes-with-markdown ? |
Yes, sort of. |
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. |
layouts/_default/_markup/render-link.html
:and I have this result after render:
The text was updated successfully, but these errors were encountered: