diff --git a/.gitignore b/.gitignore index 5a87346b..1cbbb5f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -_site \ No newline at end of file +_site +_src/_media/gen \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js index 55b9334c..aad8eba4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -17,7 +17,7 @@ module.exports = function(grunt){ grunt.log.writeln(""); grunt.log.writeln(" <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>"); grunt.log.writeln(""); - grunt.log.writeln(" | (o) | Just what do you think you're doing, Matthias? "); + grunt.log.writeln(" (o) Just what do you think you're doing, Matthias? "); grunt.log.writeln(""); grunt.log.writeln(" <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>"); grunt.log.writeln(""); @@ -80,12 +80,16 @@ module.exports = function(grunt){ uglify: { production: { options: { - report: 'min', - mangle: true + report: 'min' }, files: { + '<%= config.site %>/<%= config.assets.js %>/lib/picturefill.min.js': [ + '<%= config.site %>/<%= config.assets.js %>/lib/picturefill.js' + ], '<%= config.site %>/<%= config.assets.js %>/kremalicious3.min.js': [ - '<%= config.src %>/<%= config.assets.js %>/picturefill.js', + '<%= config.src %>/<%= config.assets.js %>/lib/infinitescroll/jquery.infinitescroll.js', + '<%= config.src %>/<%= config.assets.js %>/lib/socialite/socialite.js', + '<%= config.src %>/<%= config.assets.js %>/plugins.js', '<%= config.src %>/<%= config.assets.js %>/app.js' ] } @@ -165,7 +169,6 @@ module.exports = function(grunt){ // rsync stuff around rsync: { options: { - recursive: true }, // copy media folder @@ -173,7 +176,7 @@ module.exports = function(grunt){ options: { src: '<%= config.src %>/_media/', dest: '<%= config.site %>/media/', - args: ["--exclude='gen'"], + args: ["--exclude='gen'"] } }, // deployment diff --git a/_config.yml b/_config.yml index e3c57877..69e6e114 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ pygments: true source: ./_src destination: ./_site exclude: ['design', 'node_modules', 'less'] -keep_files: ['media'] +keep_files: ['media', 'gen'] picture: source: "_media" diff --git a/_src/_includes/footer.html b/_src/_includes/footer.html index 71fe722a..564a33bf 100644 --- a/_src/_includes/footer.html +++ b/_src/_includes/footer.html @@ -21,4 +21,9 @@

© 2007-2013 Matthias Kretschmann.

Code snippets: MIT License. Goodies: CC BY NC SA. Hosted by (mt)

- \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/_src/_includes/head.html b/_src/_includes/head.html index 6926ccaa..8b943c13 100644 --- a/_src/_includes/head.html +++ b/_src/_includes/head.html @@ -1,3 +1,30 @@ + + + @@ -30,10 +57,16 @@ {% endif %} + + - + {% if paginator %} + + {% endif %} diff --git a/_src/_includes/header.html b/_src/_includes/header.html index 3367a414..5272c712 100644 --- a/_src/_includes/header.html +++ b/_src/_includes/header.html @@ -1,3 +1,4 @@ +