Skip to content

Commit

Permalink
doing a render on lost now
Browse files Browse the repository at this point in the history
  • Loading branch information
nod committed Jul 2, 2012
1 parent 86da905 commit 2d28138
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
25 changes: 25 additions & 0 deletions templates/lost.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{% extends base.html %}

{% block headcss %}
<link href='http://fonts.googleapis.com/css?family=Trade+Winds' rel='stylesheet' type='text/css'>
<style type="text/css">
body { padding: 200px; font-family: san-serif; font-size: 18px; }
h1.lost { font-family: 'Trade Winds'; font-size: 68px; }
</style>
{% end %}



{% block content-main %}

<h1 class='lost'> LOST </h1>

<p>
We regret to inform you that the page you're looking for hasn't been seen for quite some time, including, quite possibly, never.
</p>

<p>
It is with much sorrow that we say to you, you can't always get what you want.
</p>

{% end %}
5 changes: 5 additions & 0 deletions views/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
@route('.*')
class Handle404(BaseHandler):
def get(self):


print dir(request)


self.redirect('/static/lost.html')


Expand Down

0 comments on commit 2d28138

Please sign in to comment.