annotate build/messages/templates/error.html @ 174:e9a3d405e18f

serve: Always force render the page being previewed. This is because if the page hasn't changed, but it includes pages that did change, it will re-use the cache and the user will preview the old version.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 03 Jan 2015 21:20:19 -0800
parents 67a1c082d89d
children a951cd4ef361
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
123
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 {% extends "default.html" %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 {% block content %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 {{content|safe}}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 {% raw %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 {% if details %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 <div class="error-details">
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 {{ details|safe }}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 </div>
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 {% endif %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 {% endraw %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 {% endblock %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 {% block footer %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 {% pcformat 'textile' %}
137
67a1c082d89d Fixed outdate information in error messages' footer.
Ludovic Chabant <ludovic@chabant.com>
parents: 123
diff changeset
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@.
123
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18 {% endpcformat %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 {% endblock %}