Add back CRP

This commit is contained in:
Ryan Watters
2017-03-17 17:06:09 -05:00
parent fa1c7d1f1d
commit 2390c000b2
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ watch = true
# Add GA Tracking Code Here. This leverages a built-in (ie, "internal") partial from HUGO: https://gohugo.io/extras/analytics#configuring-google-analytics
googleanalyticstrackingcode = ""
## Critical Render Path. If true, site style will be embedded in a <style> tag in each html <head> as part of Gulp Build. False puts a typical <link> to the stylesheet in <head>>
usecrp = false
usecrp = true
## Twitter handle without the "@"
twitterhandle = "GoHugoIO"
## Facebook URL
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -33,8 +33,8 @@ gulp.task('scss', function() {
.pipe(sass({ outputStyle: 'compressed' }).on('error', sass.logError))
.pipe(prefix('last 2 versions', '> 1%', 'ie 10', 'Android 2', 'Firefox ESR'))
.pipe(plumber())
// .pipe(rename('style-embed.html'))
// .pipe(gulp.dest('../layouts/partials'))
.pipe(rename('style-embed.html'))
.pipe(gulp.dest('../layouts/partials'))
.pipe(rename('style.min.css'))
.pipe(gulp.dest('../static/css'));
});