annotate build/messages/templates/error.html @ 196:154b8df04829

processing: Add Compass and Sass processors. The Sass processor is similar to the Less processor, i.e. it tries to be part of the structured pipeline processing by using the mapfile produced by the Sass compiler in order to provide a list of dependencies. The Compass processor is completely acting outside of the pipeline, so the server won't know what's up to date and what's not. It's expected that the user will run `compass watch` to keep things up to date. However, it will require to pass the server's cache directory to put things in, so we'll need to add some easy way to get that path for the user.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 11 Jan 2015 23:08:49 -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 %}