Mercurial > piecrust2
comparison docs/templates/doc.html @ 294:f51b69ad09ae
docs: Add the ability to use Pygments highlighting.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 08 Mar 2015 22:58:58 -0700 |
parents | a5d21fac8e3f |
children | 8140ff806258 |
comparison
equal
deleted
inserted
replaced
293:d013cc191922 | 294:f51b69ad09ae |
---|---|
1 {% extends "default.html" %} | 1 {% extends "default.html" %} |
2 | |
3 {% block head %} | |
4 {% if page.needs_pygments %} | |
5 <style type="text/css"> | |
6 {{highlight_css()}} | |
7 </style> | |
8 {% endif %} | |
9 {% endblock %} | |
2 | 10 |
3 {% block header %} | 11 {% block header %} |
4 <header class="documentation"> | 12 <header class="documentation"> |
5 <h1>{{ page.title }}</h1> | 13 <h1>{{ page.title }}</h1> |
6 </header> | 14 </header> |