Commit 2359c94b authored by Noel Quiles's avatar Noel Quiles

Update files/cleanup

parent 1f13eed5
.DS_Store
node_modules
tmp
test-base
process.env
public
axis = require 'axis'
rupture = require 'rupture'
typographic = require 'typographic'
contentful = require 'roots-contentful'
dynamic_content = require 'dynamic-content'
autoprefixer = require 'autoprefixer-stylus'
# livescript = require 'LiveScript'
js_pipeline = require 'js-pipeline'
css_pipeline = require 'css-pipeline'
marked = require 'marked'
......@@ -12,20 +10,11 @@ slugify = require 'underscore.string/slugify'
module.exports =
ignores: ['readme.md', 'gulpfile.js', '**/layout.*', '**/_*', '.gitignore', 'ship.*conf']
output: process.env.mainsitedevdir
extensions: [
js_pipeline(files: 'assets/js/*.ls'),
css_pipeline(files: 'assets/css/_dev/*.styl')
dynamic_content()
contentful
access_token: process.env.my_access_token
space_id: process.env.space_key
content_types:
blog_posts:
id: process.env.posts_key
name: 'posts'
template: 'views/_post.jade'
path: (e) -> "bleigposts/#{e.date}/#{slugify(e.title)}"
]
stylus:
......@@ -40,4 +29,3 @@ module.exports =
locals:
markdown: marked
# post: contentful
axis = require 'axis'
rupture = require 'rupture'
typographic = require 'typographic'
contentful = require 'roots-contentful'
dynamic_content = require 'dynamic-content'
autoprefixer = require 'autoprefixer-stylus'
js_pipeline = require 'js-pipeline'
......@@ -15,15 +14,7 @@ module.exports =
extensions: [
js_pipeline(files: 'assets/js/*.ls', out: 'js/main.js', minify: true, hash: true),
css_pipeline(files: 'assets/css/_dev/*.styl', out: 'css/style.css', minify: true, hash: true)
contentful
access_token: my_access_token
space_id: space_key
content_types:
blog_posts:
id: posts_key
name: 'posts'
template: 'views/_post.jade'
path: (e) -> "bleigposts/#{e.date}/#{slugify(e.title)}"
dynamic_content()
]
stylus:
......
......@@ -24,6 +24,6 @@ gulp.task('styles', function() {
.pipe(gulp.dest(paths.cssDestination));
});
// gulp.watch(paths.cssSource + '**/*.css', ['styles']);
//gulp.watch(paths.cssSource + '**/*.css', ['styles']);
gulp.task('default', ['styles']);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment