Mercurial > piecrust2
comparison build/messages/templates/error.html @ 123:b6f79f23904a
Upgrade system messages to the new folder structure.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 14 Nov 2014 22:43:29 +0100 |
parents | |
children | 67a1c082d89d |
comparison
equal
deleted
inserted
replaced
122:04e3da2dd969 | 123:b6f79f23904a |
---|---|
1 {% extends "default.html" %} | |
2 | |
3 {% block content %} | |
4 {{content|safe}} | |
5 | |
6 {% raw %} | |
7 {% if details %} | |
8 <div class="error-details"> | |
9 {{ details|safe }} | |
10 </div> | |
11 {% endif %} | |
12 {% endraw %} | |
13 {% endblock %} | |
14 | |
15 {% block footer %} | |
16 {% pcformat 'textile' %} | |
17 p(note). You're seeing this because something wrong happend. To see detailed errors with callstacks, run chef with the @--debug@ parameter, append @?!debug@ to the URL, or initialize the @PieCrust@ object with @{'debug'=>true}@. On the other hand, to see you custom error pages, set the @site/display_errors@ setting to @false@. | |
18 {% endpcformat %} | |
19 {% endblock %} |