Add baseurl to css hrefs in js

pull/1/head
Max White 2015-09-07 21:48:56 +01:00
parent 4c047c775d
commit b2d1ab8024
1 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,5 @@
---
---
/* /*
Arcana by HTML5 UP Arcana by HTML5 UP
html5up.net | @n33co html5up.net | @n33co
@ -9,13 +11,13 @@
skel.init({ skel.init({
reset: 'full', reset: 'full',
breakpoints: { breakpoints: {
global: { range: '*', href: '/assets/css/style.css', containers: 1400, grid: { gutters: 50 } }, global: { range: '*', href: '{{ site.baseurl }}/assets/css/style.css', containers: 1400, grid: { gutters: 50 } },
wide: { range: '-1680', href: '/assets/css/style-wide.css', containers: 1200, grid: { gutters: 40 } }, wide: { range: '-1680', href: '{{ site.baseurl }}/assets/css/style-wide.css', containers: 1200, grid: { gutters: 40 } },
normal: { range: '-1280', href: '/assets/css/style-normal.css', containers: 960, grid: { gutters: 30 }, viewport: { scalable: false } }, normal: { range: '-1280', href: '{{ site.baseurl }}/assets/css/style-normal.css', containers: 960, grid: { gutters: 30 }, viewport: { scalable: false } },
narrow: { range: '-980', href: '/assets/css/style-narrow.css', containers: '95%', grid: { gutters: 20 } }, narrow: { range: '-980', href: '{{ site.baseurl }}/assets/css/style-narrow.css', containers: '95%', grid: { gutters: 20 } },
narrower: { range: '-840', href: '/assets/css/style-narrower.css', grid: { collapse: 1 } }, narrower: { range: '-840', href: '{{ site.baseurl }}/assets/css/style-narrower.css', grid: { collapse: 1 } },
mobile: { range: '-736', href: '/assets/css/style-mobile.css', containers: '90%', grid: { gutters: 15 } }, mobile: { range: '-736', href: '{{ site.baseurl }}/assets/css/style-mobile.css', containers: '90%', grid: { gutters: 15 } },
mobilep: { range: '-480', href: '/assets/css/style-mobilep.css', grid: { collapse: 2 }, containers: '100%' } mobilep: { range: '-480', href: '{{ site.baseurl }}/assets/css/style-mobilep.css', grid: { collapse: 2 }, containers: '100%' }
}, },
plugins: { plugins: {
layers: { layers: {