I want the "_layouts / template1.html" template to extend the (Django-style) _layouts / default.html template.
I put this as the front YAML element in _layouts / template1.html
--- layout: default --- {{page.content}}
but apparently it doesnβt work the way I would like it to work (all the additional markup that is present in the template1.html file but is NOT in default.html is not displayed). It looks like a file that uses layout1 layout just extends default.html.
Is there a way to have layout inheritance in Jekyll?
Julia K Szopa
source share