teesloane / banquo

Portfolio oriented Ghost theme
MIT License
21 stars 6 forks source link

Page note template does not work #8

Open almereyda opened 5 years ago

almereyda commented 5 years ago

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 commented 5 years ago

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/