Mercurial > piecrust2
view docs/templates/doc.html @ 907:3e69f18912f5
jinja: Remove Twig compatibility, add timer, improve code.
- Add a timer for keeping track of extensions' performance.
- Use the `select_template` function from Jinja to cut down on a few lines
of code.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 23 Jul 2017 08:30:47 -0700 |
parents | 61d53d2163d6 |
children | 94d7d5e38571 |
line wrap: on
line source
{% extends "section-page.html" %} {% block header %} <header class="documentation"> <h1>{{ page.title }}</h1> </header> {% endblock %}