[SOLVED] Functions in shortcodes not available?

#1

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

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

but getting this error:

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

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

#3

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
#4

Try relref .Page

1 Like
#5

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