I have to show related pages, inside the content markdown. I have been using .Site.RegularPages.RelatedIndices to show related pages in templates. But now I need to show the related pages in the middle of the content markdown. There seems to be no way to use .Site.RegularPages.RelatedIndices in shortcodes. Please suggest how I can achieve this?
Maybe you’re trying to use something like .Site.RegularPages.RelatedIndices . "tags" "date" as a shortcode, where the problem is the . (context). See the documentation about it.