Skip to content

Instantly share code, notes, and snippets.

View justalever's full-sized avatar
🦄
building all the things

Andy Leverenz justalever

🦄
building all the things
View GitHub Profile
@justalever
justalever / Gulpfile.js
Created February 13, 2017 21:36
A gulpfile for my typical WordPress starter theme
"use strict";
var gulp = require('gulp'),
sass = require('gulp-sass'),
autoprefixer = require('gulp-autoprefixer'),
newer = require('gulp-newer'),
sourcemaps = require('gulp-sourcemaps'),
imagemin = require('gulp-imagemin'),
browserSync = require('browser-sync').create(),
reload = browserSync.reload,
function add_to_context( $context ) {
$context['menu'] = new TimberMenu('primary-menu');
$content['footer'] = new TimberMenu('footer-menu');
$context['site'] = $this;
return $context;
}