feat: simplify base/page/form template structure; add docs
i'm sure there is more to document yet but this gets us started
This commit is contained in:
parent
3579bebdeb
commit
fce0de5d30
14 changed files with 445 additions and 153 deletions
15
docs/narr/templates/overview.rst
Normal file
15
docs/narr/templates/overview.rst
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
Overview
|
||||
========
|
||||
|
||||
WuttaWeb uses the `Mako`_ template language for page rendering.
|
||||
|
||||
.. _Mako: https://www.makotemplates.org/
|
||||
|
||||
There is a "global" base template which effectively defines the
|
||||
"theme" (page layout, Vue component structure). A few other base
|
||||
templates provide a starting point for any custom pages; see
|
||||
:doc:`base`.
|
||||
|
||||
Templates are found via lookup which is handled by Mako. This is
|
||||
configurable so you can override any or all; see :doc:`lookup`.
|
Loading…
Add table
Add a link
Reference in a new issue