diff options
| author | 2016-11-15 14:18:46 -0300 | |
|---|---|---|
| committer | 2016-11-15 14:18:46 -0300 | |
| commit | ffb671c61a24a9086343b54bad080e145ff33fc5 (patch) | |
| tree | 2c5291f7a34edf4afdc8e07887a148291bfa3fa1 /docs/theming.txt | |
| parent | 4e3224c012df9f74f010eb92203520515e8537b9 (diff) | |
New upstream version 7.8.1upstream/7.8.1
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 |
