diff options
Diffstat (limited to 'docs/theming.txt')
| -rw-r--r-- | docs/theming.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/theming.txt b/docs/theming.txt index f84f966..a11306c 100644 --- a/docs/theming.txt +++ b/docs/theming.txt @@ -9,7 +9,7 @@ Theming Nikola ============== -:Version: 7.7.3 +:Version: 7.8.1 :Author: Roberto Alsina <ralsina@netmanagers.com.ar> .. class:: alert alert-info pull-right @@ -106,6 +106,12 @@ should learn one first. What engine is used by the theme is declared in the ``en The rest of this document explains Mako templates, but Jinja2 is fairly similar. +.. Tip:: + + If you are using Mako templates, and want some extra speed when building the site + you can install Beaker and `make templates be cached <http://docs.makotemplates.org/en/latest/caching.html>`__ + + Mako has a nifty concept of template inheritance. That means that, a template can inherit from another and only change small bits of the output. For example, ``base.tmpl`` defines the whole layout for a page but has only a placeholder for content @@ -281,6 +287,7 @@ List of page kinds provided by default plugins: * list, tag_page * list, tags_page * post_page +* page_page * story_page * listing * generic_page |
