You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when page generate by Bake, I saw in file content "home.html" contain <%= grunt.config.get('pkg.description') %>...I wanna Bake call grunt.config.get for get parameter value. I find solution in internet, and I found solution:
I resolve problem with grunt.config.get, but I have problem with options.content, it mean Bake can not generate page with content.json. File after build keep key of content file instead of value like. {{example.title}}
Help me please!. Sorry with my English!.
The text was updated successfully, but these errors were encountered:
generally I suggest not to overwrite the process-function, because you loose bake-functionality. But you can mix the configuration into your content object; options.content can also be a callback, so you can do something like:
Hi !
How can generate bake with "grunt.config.get"?. Example:
includes/header.html
pages/home.html
But when page generate by Bake, I saw in file content "home.html" contain <%= grunt.config.get('pkg.description') %>...I wanna Bake call grunt.config.get for get parameter value. I find solution in internet, and I found solution:
I resolve problem with grunt.config.get, but I have problem with options.content, it mean Bake can not generate page with content.json. File after build keep key of content file instead of value like. {{example.title}}
Help me please!. Sorry with my English!.
The text was updated successfully, but these errors were encountered: