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

Update files/cleanup

parent 1f13eed5
.DS_Store .DS_Store
node_modules node_modules
tmp tmp
test-base
process.env process.env
public
axis = require 'axis' axis = require 'axis'
rupture = require 'rupture' rupture = require 'rupture'
typographic = require 'typographic' typographic = require 'typographic'
contentful = require 'roots-contentful'
dynamic_content = require 'dynamic-content' dynamic_content = require 'dynamic-content'
autoprefixer = require 'autoprefixer-stylus' autoprefixer = require 'autoprefixer-stylus'
# livescript = require 'LiveScript'
js_pipeline = require 'js-pipeline' js_pipeline = require 'js-pipeline'
css_pipeline = require 'css-pipeline' css_pipeline = require 'css-pipeline'
marked = require 'marked' marked = require 'marked'
...@@ -12,20 +10,11 @@ slugify = require 'underscore.string/slugify' ...@@ -12,20 +10,11 @@ slugify = require 'underscore.string/slugify'
module.exports = module.exports =
ignores: ['readme.md', 'gulpfile.js', '**/layout.*', '**/_*', '.gitignore', 'ship.*conf'] ignores: ['readme.md', 'gulpfile.js', '**/layout.*', '**/_*', '.gitignore', 'ship.*conf']
output: process.env.mainsitedevdir
extensions: [ extensions: [
js_pipeline(files: 'assets/js/*.ls'), js_pipeline(files: 'assets/js/*.ls'),
css_pipeline(files: 'assets/css/_dev/*.styl') css_pipeline(files: 'assets/css/_dev/*.styl')
dynamic_content() 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: stylus:
...@@ -40,4 +29,3 @@ module.exports = ...@@ -40,4 +29,3 @@ module.exports =
locals: locals:
markdown: marked markdown: marked
# post: contentful
axis = require 'axis' axis = require 'axis'
rupture = require 'rupture' rupture = require 'rupture'
typographic = require 'typographic' typographic = require 'typographic'
contentful = require 'roots-contentful'
dynamic_content = require 'dynamic-content' dynamic_content = require 'dynamic-content'
autoprefixer = require 'autoprefixer-stylus' autoprefixer = require 'autoprefixer-stylus'
js_pipeline = require 'js-pipeline' js_pipeline = require 'js-pipeline'
...@@ -15,15 +14,7 @@ module.exports = ...@@ -15,15 +14,7 @@ module.exports =
extensions: [ extensions: [
js_pipeline(files: 'assets/js/*.ls', out: 'js/main.js', minify: true, hash: true), 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) css_pipeline(files: 'assets/css/_dev/*.styl', out: 'css/style.css', minify: true, hash: true)
contentful dynamic_content()
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)}"
] ]
stylus: stylus:
......
...@@ -24,6 +24,6 @@ gulp.task('styles', function() { ...@@ -24,6 +24,6 @@ gulp.task('styles', function() {
.pipe(gulp.dest(paths.cssDestination)); .pipe(gulp.dest(paths.cssDestination));
}); });
// gulp.watch(paths.cssSource + '**/*.css', ['styles']); //gulp.watch(paths.cssSource + '**/*.css', ['styles']);
gulp.task('default', ['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