blob: a2e465fc5f747e6ad549eec0f40eeefca2a13dbc [file] [log] [blame]
// Include common utilities
U = new includes.U(config)
layout 'layout/main.tpl', true,
projects: projects,
breadcrumbs : contents {
include template : 'breadcrumbs-brick.tpl'
},
edit : contents {
include template : 'edit-brick.tpl'
},
tableOfContents : contents {
include template : 'toc-brick.tpl'
},
bodyContents: contents {
div(class:"row","data-pagefind-body":true){
div(){
section(){
yieldUnescaped U.processBody(content, config)
}
}
}
// pagefind doesn't seem to index the title that it finds, include it here, invisible
div("data-pagefind-body":"true","data-pagefind-weight":"7.0","style":"display:none;") {
yield " - ( ${ content.title } )"
}
},
tags : contents {
include template : 'tags-brick.tpl'
},
lastModified: contents {
include template : 'lastmodified-brick.tpl'
}