commit
5142808069
5 changed files with 15 additions and 0 deletions
9
content/404.erb
Normal file
9
content/404.erb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: 404 - Page not found
|
||||||
|
---
|
||||||
|
|
||||||
|
<img src="assets/images/404.png" alt="" class="img-center"/>
|
||||||
|
|
||||||
|
<p class="has-text-centered">
|
||||||
|
- Page not found -
|
||||||
|
</p>
|
BIN
content/assets/images/404.png
Normal file
BIN
content/assets/images/404.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
4
content/assets/stylesheets/includes/404.scss
Normal file
4
content/assets/stylesheets/includes/404.scss
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
.img-center {
|
||||||
|
display:block;
|
||||||
|
margin:auto;
|
||||||
|
}
|
|
@ -18,3 +18,4 @@ $family-sans-serif: 'Open Sans', sans-serif;
|
||||||
@import "includes/cammie";
|
@import "includes/cammie";
|
||||||
@import "includes/events";
|
@import "includes/events";
|
||||||
@import "includes/general";
|
@import "includes/general";
|
||||||
|
@import "includes/404";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
module AssetHelper
|
module AssetHelper
|
||||||
def asset(type, identifier)
|
def asset(type, identifier)
|
||||||
{
|
{
|
||||||
|
img: "<img src='/assets/images/#{identifier}'/>",
|
||||||
js: "<script src='/assets/scripts/#{identifier}.js'></script>",
|
js: "<script src='/assets/scripts/#{identifier}.js'></script>",
|
||||||
css: "<link rel='stylesheet' type='text/css' href='/assets/stylesheets/#{identifier}.css'>"
|
css: "<link rel='stylesheet' type='text/css' href='/assets/stylesheets/#{identifier}.css'>"
|
||||||
}[type]
|
}[type]
|
||||||
|
|
Loading…
Reference in a new issue