Creates URLs like /2012/12/15/merry-xmas.html
for your blog posts.
Requires momentjs to be installed: npm install --save moment
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
// Import package.json file, we get some info from here | |
pkg: grunt.file.readJSON('package.json'), | |
// Minify JS into one file | |
uglify: { | |
options: { | |
banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n' |
Creates URLs like /2012/12/15/merry-xmas.html
for your blog posts.
Requires momentjs to be installed: npm install --save moment