Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mention Mako Beaker caching (Fix #2372)
  • Loading branch information
ralsina committed Jun 22, 2016
1 parent 36f3ef0 commit 826d110
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/theming.txt
Expand Up @@ -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
Expand Down

1 comment on commit 826d110

@leingang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.