Make phorkie search engine friendlier
[phorkie.git] / data / templates / exception.htm
index 410c3c0e77f892dc554baaef3f21f7190edd1f6c..f4f5d324226856add893a13c37adac2e7da822a0 100644 (file)
@@ -1,8 +1,10 @@
 <!DOCTYPE html>
 <html>
- <head>
-  <link rel="stylesheet" href="phorkie.css" />
-  <title>Error - Phorkie</title>
+  <head>
+  <base href="{{baseurl}}" />
+  <link rel="stylesheet" href="css/phorkie.css" />
+  <title>Error - phorkie</title>
+  <meta name="robots" content="noindex"/>
  </head>
  <body>
   <article>
@@ -10,6 +12,9 @@
    <p>
     {{exception.getMessage}}
    </p>
+   {% if debug %}
+   <pre>{{exception.getTraceAsString}}</pre>
+   {% endif %}
   </article>
  </body>
 </html>