Permalink
Browse files

404 fix

  • Loading branch information...
1 parent 70ad015 commit 6b4de27102503c6cf59f2952db5699d223549a90 @benbalter committed Mar 1, 2013
Showing with 8 additions and 4 deletions.
  1. +5 −1 404.html
  2. +2 −2 _cs/application.coffee
  3. +1 −1 _includes/js/application.js
View
@@ -3,6 +3,8 @@
title: Not Found :(
robots: noindex
---
+<div class="content" id="content" role="main">
+
<style>
/* google search */
#goog-fixurl ul { list-style: none; padding: 0; margin: 0; }
@@ -27,4 +29,6 @@
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
<script>
window.is404 = true;
- </script>
+ </script>
+
+ </div>
View
@@ -337,8 +337,8 @@ Application.router = new Router()
Backbone.history.start pushState: true, silent: true
if is404?
- slug = document.location.pathname.replace("/","")
- Application.router.navigate slug, trigger: true
+ is404 = null
+ Application.router.navigate document.location.pathname.replace("/",""), trigger: true
jQuery(document).ready ->
Oops, something went wrong.

0 comments on commit 6b4de27

Please sign in to comment.