Related content inside the shortcode

I was able to render similar content in my Hugo template.

But I would like to choose a place in the article in which to display a block with similar articles. Can I somehow adapt this for shortcode?

Yes, you can.

The key point to understand is that the current page is available via .Page from a shortcode.

Thank you so much, it helped))

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.