replicatedhq/hugo-algolia

Shortcode Included markdown's not indexed

ramkumarvs opened this issue · 1 comments

Hi there we have a shortcode to include markdown's those don't see be to indexed properly.

Our custom shortcode (includeMarkdown) looks like this
{{ $includePath := (.Get 0) | printf "./content/%s" }} 2 {{ readFile $includePath | markdownify }} 3 {{ .Inner }}
and we include markdown's using this short code like this
{{% includeMarkdown "/explore/binary/fault-tolerance.md" /%}}
But when indexed we are see the shortcode is not expanded and content's of the included markdown is not index.

Hey @ramkumarvs, thanks for feedback! I'll look into this as soon as I can.