From 4b38bd6edde0a1359e6815eb79cf4c9245d17677 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Tue, 23 Dec 2014 20:23:37 -0500 Subject: [PATCH] Adding build date to a comment in the header --- gulpfile.js | 1 + template.html | 1 + 2 files changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 6996197..deb96fe 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -44,6 +44,7 @@ gulp.task('markup', ['compass'], function() { return gulp.src(config.globs.html, { base: './src' }) .pipe(errorHandler()) .pipe(wrap({ src: config.templateFile }, { + date: new Date().toISOString(), title: function() { var root = path.join(this.file.cwd, this.file.base), file = path.relative(root, this.file.history[0]); diff --git a/template.html b/template.html index 115c066..e32c490 100644 --- a/template.html +++ b/template.html @@ -13,6 +13,7 @@ +