-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
relref is quite long and complicated to write, for example:
[Report a vulnerability]({{< relref "security#reporting-a-vulnerability" >}})
{{< wiki "3rd Party Applications" "already existing one" />}
Sadly upstream hugo does not seem to implement an alternative by themselves: gohugoio/hugo#3606
But I found two potential alternatives (but I don't know if they work correctly (as I intend it)):
-
https://github.com/13rac1/goldmark-wikilink
Would be simply:[[pagename]]It seems additions are planned, for:
- sections:
[[pagename#category]] - custom naming:
[[pagename|displayed text]
- sections:
-
https://github.com/bep/portable-hugo-links/
I have to admit that I am not sure this works as I understand it, but it seems this is natively possible with newer versions of hugo 🤔. So no extensions needed.
Reactions are currently unavailable