From: Mark Otto Date: Sat, 24 Aug 2013 05:38:51 +0000 (-0700) Subject: Use jekyll var for current version in docs; update banner in gruntfile to match ... X-Git-Tag: v3.0.1~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48d929d69edf06fd0b02e05522e0c8efe6b5b77f;p=thirdparty%2Fbootstrap.git Use jekyll var for current version in docs; update banner in gruntfile to match .less banner --- diff --git a/Gruntfile.js b/Gruntfile.js index cfefae2cdd..6b861113e4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,9 +9,11 @@ module.exports = function(grunt) { // Metadata. pkg: grunt.file.readJSON('package.json'), banner: '/**\n' + - '* <%= pkg.name %>.js v<%= pkg.version %> by @fat and @mdo\n' + + '* Bootstrap v<%= pkg.version %> by @fat and @mdo\n' + '* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + - '* <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' + + '* Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>.\n' + + '*\n' + + '* Designed and built with all the love in the world by @mdo and @fat.\n' + '*/\n', jqueryCheck: 'if (!jQuery) { throw new Error(\"Bootstrap requires jQuery\") }\n\n', diff --git a/_config.yml b/_config.yml index 332f252fd7..b93496ae09 100644 --- a/_config.yml +++ b/_config.yml @@ -11,6 +11,7 @@ exclude: [".editorconfig", ".gitignore", ".ruby-version", "bower.json", port: 9001 # Custom vars +current_version: 3.0.0 repo: https://github.com/twbs/bootstrap download: https://github.com/twbs/bootstrap/archive/v3.0.0.zip download_dist: https://github.com/twbs/bootstrap/releases/download/v3.0.0/bootstrap-3.0.0-dist.zip diff --git a/_layouts/default.html b/_layouts/default.html index de3368d52e..3f1276e4e6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -58,7 +58,7 @@

Designed and built with all the love in the world by @mdo and @fat.

Code licensed under Apache License v2.0, documentation under CC BY 3.0.