Merge remote-tracking branch 'benchmarkstudios/v2' into v2
This commit is contained in:
commit
2841bf45d4
|
@ -1 +1 @@
|
||||||
Subproject commit 4cef1bf7cb635806cb07fc30cbb34ae211881570
|
Subproject commit e87c4f6ee56bb7223a1cb56698cec4d0fdabbd29
|
|
@ -69,7 +69,7 @@ function barebones_scripts()
|
||||||
* For IE8 to play nice, you'll need to include your CSS here, for example:
|
* For IE8 to play nice, you'll need to include your CSS here, for example:
|
||||||
*/
|
*/
|
||||||
// wp_enqueue_style( 'fonts', '//fonts.googleapis.com/css?family=Font+Family' );
|
// wp_enqueue_style( 'fonts', '//fonts.googleapis.com/css?family=Font+Family' );
|
||||||
// wp_enqueue_style( 'icons', '//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css' );
|
// wp_enqueue_style( 'icons', '//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css' );
|
||||||
wp_deregister_script( 'jquery' );
|
wp_deregister_script( 'jquery' );
|
||||||
wp_register_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js', false, '1.11.3', true );
|
wp_register_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js', false, '1.11.3', true );
|
||||||
wp_enqueue_script( 'jquery' );
|
wp_enqueue_script( 'jquery' );
|
||||||
|
|
16
gulpfile.js
16
gulpfile.js
|
@ -1,5 +1,5 @@
|
||||||
// config - desktop notifications
|
// Disable notifications
|
||||||
process.env.DISABLE_NOTIFIER = false;
|
// +process.env.DISABLE_NOTIFIER = false;
|
||||||
|
|
||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
var gulpImagemin = require('gulp-imagemin');
|
var gulpImagemin = require('gulp-imagemin');
|
||||||
|
@ -10,17 +10,17 @@ elixir.config.assetsPath = 'assets';
|
||||||
|
|
||||||
// Imagemin
|
// Imagemin
|
||||||
var Task = elixir.Task;
|
var Task = elixir.Task;
|
||||||
elixir.extend('imagemin', function(config) {
|
elixir.extend('imagemin', function(src, dest) {
|
||||||
new Task('imagemin', function() {
|
new Task('imagemin', function() {
|
||||||
return gulp.src(elixir.config.assetsPath + '/images/**/*')
|
return gulp.src(elixir.config.assetsPath + src)
|
||||||
.pipe(gulpImagemin(config))
|
.pipe(gulpImagemin())
|
||||||
.pipe(gulp.dest('./images'));
|
.pipe(gulp.dest(dest));
|
||||||
}).watch(elixir.config.assetsPath + '/images/**/*');
|
}).watch(elixir.config.assetsPath + src);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Run elixir tasks
|
// Run elixir tasks
|
||||||
elixir(function(mix) {
|
elixir(function(mix) {
|
||||||
mix.sass('barebones.scss', 'style.css')
|
mix.sass('barebones.scss', 'style.css')
|
||||||
.scripts(['script.js'], 'js/script.min.js')
|
.scripts(['script.js'], 'js/script.min.js')
|
||||||
.imagemin();
|
.imagemin('/img/**/*', './img');
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<!--[if IE 8]><html <?php language_attributes(); ?> class="ie8"><![endif]-->
|
||||||
|
<!--[if lte IE 9]><html <?php language_attributes(); ?> class="ie9"><![endif]-->
|
||||||
<html <?php language_attributes(); ?>>
|
<html <?php language_attributes(); ?>>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||||
|
@ -11,8 +13,8 @@
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="//css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/livingston-css3-mediaqueries-js/1.0.0/css3-mediaqueries.min.js"></script>
|
||||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue