Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
provide a 404 page
Browse files Browse the repository at this point in the history
- needs nginx redirection config for deployment

Fixes issue flatpak#222
  • Loading branch information
jimmac committed Jan 24, 2018
1 parent 63d2f49 commit a384d14
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 1 deletion.
1 change: 1 addition & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ErrorDocument 404 /404.html
14 changes: 14 additions & 0 deletions source/404.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Flatpak -- page not found
description: 404 Page not Found
---

%section#notfound
.container
.row
.col-lg-10.col-lg-offset-1
%h1.section-heading.text-center Oops
%p
= partial "404.svg"
%p.centered
The page you're looking for is no longer there.
130 changes: 130 additions & 0 deletions source/_404.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/layouts/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
%span.icon-bar
%span.icon-bar
%span.icon-bar
= link_to "Flatpak", "/index.html", :class => "navbar-brand page-scroll"
= link_to "Flatpak", "/index.html", :class => "navbar-brand page-scroll"

= partial "navigation"
/ /.container-fluid
Expand Down

0 comments on commit a384d14

Please sign in to comment.