kibble.json Reference - shift72/kibble GitHub Wiki
Your Kibble template is configured with the kibble.json file.
{
"name": "shift72-template",
// the template version. You'll want to bump this when publishing new versions of the template
"version": "1.0.0",
// the site the template is for. this is used to access the shift72 api
"siteUrl": "https://tvoddemo.shift72.com",
// routes define which pages get generated, and which templates are used for them
// kibble has multiple data sources that can be used here, e.g. "Film", "TVSeason", "TVEpisode", "Page"
// the data will be pulled via the API, and enumerated, using the specified template to generate the pages
"routes": [
{
"datasource": "Film",
"name": "filmItem",
"urlPath": "/film/:slug/",
"templatePath": "templates/film/item.jet",
"partialUrlPath": "/partials/film/:filmID.html",
"partialTemplatePath": "templates/film/partial.jet",
"pageSize": 0
},
],
// When running a dev server, proxy these URL prefixes through to the site.
// Kibble automatically passes through /services for API access
"proxy": [
"^/checkout/",
"^/play/",
"^/admin/"
]
}