Rejig asset compilation destination

Avoid using "public" because it's a reserved word by the asset helper
This commit is contained in:
John O'Nolan 2017-06-16 13:23:03 +01:00
parent 4b6905f175
commit 397a096949
9 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,8 @@
/* Table of Contents
/* ------------------------------------------------------------
This is a development CSS file which is compiled to a minified
production stylesheet in assets/public/screen.css
This is a development CSS file which is built to a minified
production stylesheet in assets/built/screen.css
1. Global Styles
2. Layout

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{!-- Styles'n'Scripts --}}
<link rel="stylesheet" type="text/css" href="{{asset "assets/public/screen.css"}}" />
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
{{!-- This tag outputes SEO meta+structured data and other important settings --}}
{{ghost_head}}

View File

@ -10,7 +10,7 @@ This error template is used for all 400/500 errors which might occur on your sit
<title>{{meta_title}}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="{{asset "assets/public/screen.css"}}" />
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
</head>
<body class="error-template">
<div class="site-wrapper">

View File

@ -41,7 +41,7 @@ gulp.task('css', function () {
.pipe(sourcemaps.init())
.pipe(postcss(processors))
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest('assets/public/'))
.pipe(gulp.dest('assets/built/'))
.pipe(livereload());
});