Skip to content

Commit 787b852

Browse files
ITLackeyITLackey
authored andcommitted
base-watch update and trailing div fix
1 parent cec9d81 commit 787b852

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,19 @@
3030
"dependencies": {
3131
"assemble": "github:assemble/assemble",
3232
"assemble-permalinks": "^0.5.0",
33+
"base-watch": "^0.1.3",
3334
"browser-sync": "^2.13.0",
3435
"debug": "^2.2.0",
3536
"del": "^2.2.1",
3637
"export-files": "^2.1.1",
3738
"fs-extra": "^0.30.0",
3839
"glob": "^7.0.5",
3940
"gulp": "^3.9.1",
40-
"gulp-sitemap": "^4.1.1",
4141
"gulp-cssnano": "^2.1.2",
4242
"gulp-drafts": "^0.2.0",
4343
"gulp-extname": "^0.2.2",
4444
"gulp-less": "^3.1.0",
45+
"gulp-sitemap": "^4.1.1",
4546
"gulp-sourcemaps": "^1.6.0",
4647
"helper-markdown": "^0.2.1",
4748
"markdown-toc": "^0.12.15",
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
---
21
title: Page 1
3-
layout: default
42
---
53
This is the content of page 1

recipes/browser-sync/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ var extname = require( 'gulp-extname' );
44
var less = require( 'gulp-less' );
55
var browserSync = require( 'browser-sync' ).create();
66
var path = require( 'path' );
7+
var watch = require( 'base-watch' );
78

89
var app = assemble();
10+
app.use( watch() );
11+
app.option( 'layout', 'default' );
912

1013
app.task( 'init', function ( cb ) {
1114
app.helper( 'markdown', require( 'helper-markdown' ) );

recipes/gulp-sitemap/src/layouts/default.hbs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
<li><a href="/">Home</a></li>
66
<li><a href="about.html">About</a></li>
77
<li><a href="contact.html">Contact</a></li>
8-
</ul>
9-
</div>
8+
</ul>
109
<div>
1110
{% body %}
1211
</div>

0 commit comments

Comments
 (0)