Adding build date to a comment in the header
This commit is contained in:
parent
11cf4c74dc
commit
4b38bd6edd
@ -44,6 +44,7 @@ gulp.task('markup', ['compass'], function() {
|
|||||||
return gulp.src(config.globs.html, { base: './src' })
|
return gulp.src(config.globs.html, { base: './src' })
|
||||||
.pipe(errorHandler())
|
.pipe(errorHandler())
|
||||||
.pipe(wrap({ src: config.templateFile }, {
|
.pipe(wrap({ src: config.templateFile }, {
|
||||||
|
date: new Date().toISOString(),
|
||||||
title: function() {
|
title: function() {
|
||||||
var root = path.join(this.file.cwd, this.file.base),
|
var root = path.join(this.file.cwd, this.file.base),
|
||||||
file = path.relative(root, this.file.history[0]);
|
file = path.relative(root, this.file.history[0]);
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
<link rel="author" href="humans.txt" />
|
<link rel="author" href="humans.txt" />
|
||||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Bangers" />
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Bangers" />
|
||||||
<link rel="stylesheet" href="/css/main.css" />
|
<link rel="stylesheet" href="/css/main.css" />
|
||||||
|
<!-- Built: ${date} -->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/css" id="svg-styles">${svgStyles}</script>
|
<script type="text/css" id="svg-styles">${svgStyles}</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user