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' })
|
||||
.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]);
|
||||
|
@ -13,6 +13,7 @@
|
||||
<link rel="author" href="humans.txt" />
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Bangers" />
|
||||
<link rel="stylesheet" href="/css/main.css" />
|
||||
<!-- Built: ${date} -->
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/css" id="svg-styles">${svgStyles}</script>
|
||||
|
Loading…
Reference in New Issue
Block a user