Merge branch 'master' of github.com:ZeusWPI/zeus.ugent.be

This commit is contained in:
Lorin Werthen 2016-08-27 19:07:10 +02:00
commit d3a569588d
5 changed files with 15 additions and 0 deletions

9
content/404.erb Normal file
View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View file

@ -0,0 +1,4 @@
.img-center {
display:block;
margin:auto;
}

View file

@ -20,3 +20,4 @@ $family-sans-serif: 'Open Sans', sans-serif;
@import "includes/tiles"; @import "includes/tiles";
@import "includes/blogpost"; @import "includes/blogpost";
@import "includes/general"; @import "includes/general";
@import "includes/404";

View file

@ -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]