diff --git a/app.rb b/app.rb index 3e078a8f..93d8d5e6 100644 --- a/app.rb +++ b/app.rb @@ -32,6 +32,11 @@ def data(name) end end + not_found do + status 404 + slim :not_found + end + # Some special cases for the routing # diff --git a/views/not_found.slim b/views/not_found.slim new file mode 100644 index 00000000..eb24c9f3 --- /dev/null +++ b/views/not_found.slim @@ -0,0 +1,15 @@ +css: + #search form { + height: 160px + } + +section.title.container.about-section + article.row + .col-lg-7.col-sm-12.col-xs-10 + h1 404, This place doesn't seem to exist + h2 If you are looking for a pod try searching for it + +== partial "search-templates" +== partial "search" + +== partial "results" \ No newline at end of file