diff --git a/Gruntfile.js b/Gruntfile.js index 545a41e8..424a0302 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -15,6 +15,18 @@ module.exports = function(grunt) { { from: '{%version%}', to: pkg.version + }, + { + from: '{%website%}', + to: pkg.website + }, + { + from: '{%year%}', + to: new Date().getFullYear() + }, + { + from: '{%author%}', + to: pkg.author } ] }, @@ -32,6 +44,16 @@ module.exports = function(grunt) { to: 'Based on Bootstrap v$1\n */\n' } ] + }, + basedon: { + src: ['dist/css/bootstrap.**css'], + dest: 'dist/css/', + replacements: [ + { + from: '{%version%}', + to: pkg.version + } + ] } }, // cssmin diff --git a/src/compass/css/bootstrap.scss b/src/compass/css/bootstrap.scss index a443f5f3..97242a01 100644 --- a/src/compass/css/bootstrap.scss +++ b/src/compass/css/bootstrap.scss @@ -2,9 +2,9 @@ @import "honoka/variables"; /*! - * Website: http://honokak.osaka/ - * Copyright 2015 windyakin * Honoka v{%version%} + * Website: {%website%} + * Copyright {%year%} {%author%} * The MIT License * Based on Bootstrap v#{$bootstrap-version} */