I’m exploring the templating setup of casper
theme. I’ve stumbled upon this syntax:
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
Where can I read about this mechanism? I haven’t found anything on it on handlebars or express-handlebars docs.
Although from the comment it’s clear how it works, I’m wondering where and how it’s implemented because it seems to be different to regular partials mechanism that define child templates to be inserted into the current template rather than the parent template into which the current template should be inserted. Is it something implemented by Ghost engine? It’s weird because for the URL /
Ghost renders index.hbs
, so this syntax represents a reverse dependency.