banquo icon indicating copy to clipboard operation
banquo copied to clipboard

Page note template does not work

Open almereyda opened this issue 6 years ago • 1 comments

Instead of displaying note-tagged posts, the HTML only renders:

console.error("The {{#get}} helper requires your theme to have API access. Please enable the v2 API via your theme's package.json file. See https://docs.ghost.org/api/handlebars-themes/packagejson/");

in Ghost 2.0.

almereyda avatar Apr 30 '19 14:04 almereyda

One needs to add

"engines": {
  "ghost": ">=2.0.0",
  "ghost-api": "v2"
+  },

to package.json for the API calls to work, and not only "ghost-api": "v2" as shown in the example on https://docs.ghost.org/api/handlebars-themes/packagejson/

almereyda avatar Apr 30 '19 15:04 almereyda