I have a markdown page on my site that I’ve injected some custom js code into. This code interprets url parameters to change what the page displays. Now I want to link to this page from another page on my site with some of the parameters set to certain values. Unfortunately, when I try adding my url params to my relref
statement, hugo gives me a REF_NOT_FOUND error. Is there any way to work around this?
Just add the params to the result of relref
, not the call itself.
[Link]({{< relref "/foo" >}}?foo=bar)
1 Like
That works! Thanks, I feel a bit silly I didn’t see that myself :P.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.