Functions in shortcodes not available?

I’m trying to add a link in a shortcode:

<a href="{{ relref . "" }}">Show more</a>

but getting this error:

executing "shortcodes/trip.html" at <relref . "">: error calling relref: invalid Page received in RelRef

I can’t find anything on google about this. Has somebody an idea?

Please read Requesting Help and share the code you are working with. We can’t troubleshoot it without seeing the templates. :slight_smile:

1 Like

Try relref .Page

1 Like

Many thanks! Where had I could found this in the documentation?