Mercurial > piecrust2
changeset 276:a5d21fac8e3f
docs: Change docs' templates after changes in Jinja's wrapper.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 01 Mar 2015 18:00:41 -0800 |
parents | 9cc91a3d6862 |
children | 37fb2d65d87e |
files | docs/templates/default.html docs/templates/doc.html |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/templates/default.html Sun Mar 01 18:00:10 2015 -0800 +++ b/docs/templates/default.html Sun Mar 01 18:00:41 2015 -0800 @@ -45,14 +45,14 @@ {% endblock %} {% block content %} <section class="container" id="content"> - {{ content|raw }} + {{ content|safe }} </section> {% endblock %} <footer> - <p>©2014 — {{ piecrust.branding|raw }}</p> + <p>©2014 — {{ piecrust.branding|safe }}</p> </footer> </div> - {{ piecrust.debug_info|raw }} + {{ piecrust.debug_info|safe }} <script src="{{ site.root }}js/piecrust.js"></script> {% if baker.is_baking %} {{ google.analytics("UA-3426592-10") }}
--- a/docs/templates/doc.html Sun Mar 01 18:00:10 2015 -0800 +++ b/docs/templates/doc.html Sun Mar 01 18:00:41 2015 -0800 @@ -9,7 +9,7 @@ {% block content %} <div class="container"> <section class="col-md-8"> - {{ content|raw }} + {{ content|safe }} </section> <aside class="col-md-4"> <ul class="doc-level1">