1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 09:13:35 +01:00

using _site as output folder

This commit is contained in:
Matthias Kretschmann 2013-12-11 21:14:17 +01:00
parent 1a3becca04
commit 67efcc04e6
4 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
node_modules
bower_components
generated
_site

View File

@ -4,7 +4,7 @@ module.exports = function(grunt){
// config
var gruntConfig = {
src: '_src',
site: 'generated',
site: '_site',
assets: {
less: 'assets/less',
css: 'assets/css',

View File

@ -18,11 +18,11 @@ Get up and running
For various reasons the assets build process and Jekyll site generation is managed through Grunt instead of `jekyll` or `rake`.
Both, `grunt server` and `grunt build`, use [grunt-jekyll](https://github.com/dannygarcia/grunt-jekyll) to first generate the site into the `generated` folder and the following Grunt tasks output into that folder.
Both, `grunt server` and `grunt build`, use [grunt-jekyll](https://github.com/dannygarcia/grunt-jekyll) to first generate the site into the `_site` folder and the following Grunt tasks output into that folder.
The `media` folder holding the source post images is excluded from Jekyll site generation and rsynced around from `_src/_media` to `generated/media` before site generation starts.
The `media` folder holding the source post images is excluded from Jekyll site generation and rsynced around from `_src/_media` to `_site/media` before site generation starts.
Image size generation for post teaser images and photos is done with [jekyll-picture-tag](https://github.com/robwierzbowski/jekyll-picture-tag), putting resized images into `generated/media/gen`.
Image size generation for post teaser images and photos is done with [jekyll-picture-tag](https://github.com/robwierzbowski/jekyll-picture-tag), putting resized images into `_site/media/gen`.
### Install dependencies

View File

@ -43,7 +43,7 @@ redcarpet:
# --------------------
source: ./_src
destination: ./generated
destination: ./_site
exclude: ['less', 'app.js']
keep_files: ['media', 'gen']