Deester4x4jr / grav-plugin-import

Used to allow importing of yaml files into grav pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to implement correctly

MikeHewitt opened this issue · comments

I think I am missing something in how to implement this.

I have added a file named ex_config.json to the folder for a page.

For the docs.md file in that folder I have added imports: ex_config.json to the frontmatter and then used {{ page.header.imports.ex_config.json }} in the main body of the markdown.

This is not working and the page only renders {{ page.header.imports.ex_config.json }}