That needs to go in your layout file, not content file. The content files cannot contain bare Go templates (you can have them indirectly… by wrapping them up in shortcodes).
Related:
That needs to go in your layout file, not content file. The content files cannot contain bare Go templates (you can have them indirectly… by wrapping them up in shortcodes).
Related: