basic 404

This commit is contained in:
myncke 2016-08-23 22:04:48 +02:00
parent bc5da5b81e
commit e6d2e6d209
2 changed files with 2 additions and 0 deletions

View file

@ -17,3 +17,4 @@ $family-sans-serif: 'Open Sans', sans-serif;
@import "includes/variables";
@import "includes/cammie";
@import "includes/general";
@import "includes/404";

View file

@ -1,6 +1,7 @@
module AssetHelper
def asset(type, identifier)
{
img: "<img src='/assets/images/#{identifier}'/>",
js: "<script src='/assets/scripts/#{identifier}.js'></script>",
css: "<link rel='stylesheet' type='text/css' href='/assets/stylesheets/#{identifier}.css'>"
}[type]