We are including a partial into all of our page layouts and now I would like to be able to pass data into that partial. However, I am getting some errors and not finding the clarity from the docs to get around this…
This implementation throws errors on other elements in the partial, like: {{ .Title | markdownify }}
layout ---
{{ partial "post-meta--feedback" (dict "post_type" "article") }}
partial ---
{{ .post_type }}
If I add the period into the partial include (like the following),I get the error can't evaluate field post_type
layout ---
{{ partial "post-meta--feedback" . (dict "post_type" "article") }}
partial ---
{{ .post_type }}
And insight on how to get this working would be much appreciated.