basic 404
This commit is contained in:
parent
bc5da5b81e
commit
e6d2e6d209
2 changed files with 2 additions and 0 deletions
|
@ -17,3 +17,4 @@ $family-sans-serif: 'Open Sans', sans-serif;
|
||||||
@import "includes/variables";
|
@import "includes/variables";
|
||||||
@import "includes/cammie";
|
@import "includes/cammie";
|
||||||
@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