Skip to content

Commit

Permalink
gruntfile update because of new version of jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsemenov committed Oct 1, 2013
1 parent 9212ad2 commit b9fca30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
14 changes: 12 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ module.exports = function(grunt) {

'use strict';

var jekyllConfig = "my_setting: 'string1' \r\n"+
"isLocal : false \r\n"+
"permalink: /:title/ \r\n"+
"exclude: ['.json', '.rvmrc', '.rbenv-version', 'README.md', 'Rakefile', 'changelog.md', 'compiler.jar', 'private', 'magnific-popup.sublime-project', 'magnific-popup.sublime-workspace', '.htaccess'] \r\n"+
"auto: true \r\n"+
"mfpversion: <%= pkg.version %> \r\n"+
"pygments: true \r\n";

// Project configuration.
grunt.initConfig({
// Metadata.
Expand Down Expand Up @@ -83,12 +91,14 @@ module.exports = function(grunt) {
dev: {
src: 'website',
dest: '_site',
url: 'local'
url: 'local',
raw: jekyllConfig + "url: local"
},
production: {
src: 'website',
dest: '_production',
url: 'production'
url: 'production',
raw: jekyllConfig + "url: production"
}
},

Expand Down
9 changes: 0 additions & 9 deletions website/_config.yml

This file was deleted.

0 comments on commit b9fca30

Please sign in to comment.