---json
{
"templating": {
"extends": "templates/layouts/content.html"
},
"script": {
"extra-components": [
"pb-leaflet-map"
],
"custom": [
"resources/scripts/toc.js",
"resources/scripts/serafin-tabs.js"
]
},
"features": {
"toc": {
"enabled": false
},
"edition-navigation": {
"navigation": true,
"in-correspondence": true
},
"timeline": {
"enabled": true,
"document-view": true
},
"toolbar": {
"navigation": false
},
"register": {
"enabled": false
}
},
"theme": {
"layout": {
"after": {
"collapsible": false
}
}
}
}
---
[% template after %]
[% if exists($context?doc) %]
[% endif %]
[% endtemplate %]
[[ page:transform($context?doc?content, map { "mode": "letter-head" }, $context?doc?odd || ".odd") ]]
[[ page:content($context, "//text[@type = 'source']") ]]