From ba9fb4dae31cbf6969ed1ec917faca956044e063 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 12:42:12 +0200 Subject: configure foundation --- source/javascripts/all.js | 5 ++--- source/javascripts/modernizr.js | 1 + source/layouts/layout.haml | 2 +- source/stylesheets/base.css.scss | 5 ++--- 4 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 source/javascripts/modernizr.js (limited to 'source') diff --git a/source/javascripts/all.js b/source/javascripts/all.js index a20886a..f255da4 100644 --- a/source/javascripts/all.js +++ b/source/javascripts/all.js @@ -1,3 +1,2 @@ -//= require jquery -//= require bootstrap -//= require_tree . +//= require jquery/dist/jquery +//= require foundation/js/foundation.min diff --git a/source/javascripts/modernizr.js b/source/javascripts/modernizr.js new file mode 100644 index 0000000..d03ca80 --- /dev/null +++ b/source/javascripts/modernizr.js @@ -0,0 +1 @@ +//= require modernizr/modernizr diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml index 53cf1ae..d932c9b 100644 --- a/source/layouts/layout.haml +++ b/source/layouts/layout.haml @@ -9,7 +9,7 @@ / Use title if it's in the page YAML frontmatter %title= current_page.data.title || "sublab" = stylesheet_link_tag "base" - = javascript_include_tag "all" + = javascript_include_tag "modernizr", "all" %body{:class => page_classes} / header %header diff --git a/source/stylesheets/base.css.scss b/source/stylesheets/base.css.scss index b360df7..bcef650 100644 --- a/source/stylesheets/base.css.scss +++ b/source/stylesheets/base.css.scss @@ -1,4 +1,3 @@ -// TODO -body { -} +@import "normalize.scss"; +@import "foundation.scss"; -- cgit v1.2.1