spanezz / staticsite

Static site generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow to extend templates in parent themes

spanezz opened this issue · comments

The structure of the default template currently makes it impossible to extend existing templates: if I provide a new page.html, it cannot import the one from the parent template as the two paths conflict.

The default template can be redesigned by providing templates under default (example: default/page.html), and a toplevel template for compatibility, intended to be overridden, that simply extends the one in default/.