Permalink
Browse files

Updated 500 template.

`500.html` template should not extend `base.html` for various reasons.

Use a 500 - template that works.
  • Loading branch information...
1 parent a4755ac commit 6cc14a3ec68f6de369e86540ae2ca6de113171a5 @markotibold markotibold committed Mar 4, 2013
Showing with 31 additions and 3 deletions.
  1. +31 −3 project/templates/500.html
View
34 project/templates/500.html
@@ -1,4 +1,32 @@
-{% extends "base.html" %}
+<!DOCTYPE html>
+<html lang="nl">
+<head>
+ <meta charset="utf-8">
+ <title>Startproject</title>
+ <style>
+ body {
+ font-family: 'Helvetica Neue', 'Helvetica', 'Arial';
+ font-size: 14px;
+ line-height: 1.5;
+ color: #666;
+ }
+
+ .page {
+ margin: 80px auto;
+ width: 400px;
+ }
+ </style>
+</head>
+<body>
+ <div class="page">
+ <h1>Internal Server Error</h1>
+ <p>
+ Something went wrong.
+ </p>
+ <p>
+ <a href="/">Back to the homepage</a>
+ </p>
+ </div>
+</body>
+</html>
-{% block doc_title %}Server error{% endblock %}
-{% block title %}<h1>Server error</h1>{% endblock %}

0 comments on commit 6cc14a3

Please sign in to comment.