From: Kai Moritz Date: Mon, 24 Aug 2015 08:46:13 +0000 (+0200) Subject: Added a SVG-graphic as logo X-Git-Tag: 1.0.1 X-Git-Url: https://juplo.de/gitweb/?p=examples%2Ftemplate-development;a=commitdiff_plain;h=65c774a64c085bd8981cbee2d78c19a5b39871e1;hp=6a1435be7f6888a5d30d7e47d4fc1791561c921b Added a SVG-graphic as logo --- diff --git a/Gruntfile.js b/Gruntfile.js index a51b0fa..9125a55 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,6 +3,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-less'); grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-svgstore'); grunt.initConfig({ @@ -28,6 +29,19 @@ module.exports = function(grunt) { } }, + svgstore: { + options: { + cleanup: true + }, + sprite: { + files: { + 'dist/img/sprite.svg': [ + 'img/mo.svg' + ] + } + } + }, + watch: { copy: { files: [ 'html/**/*.html' ], @@ -36,11 +50,15 @@ module.exports = function(grunt) { less: { files: [ 'less/**/*.less' ], tasks: [ 'less' ] + }, + svgstore: { + files: [ 'img/**/*.svg' ], + tasks: [ 'svgstore' ] } } }); - grunt.registerTask('default', [ 'copy', 'less' ]); + grunt.registerTask('default', [ 'copy', 'less', 'svgstore' ]); }; diff --git a/html/layout.html b/html/layout.html index be958d5..fc5d9d1 100644 --- a/html/layout.html +++ b/html/layout.html @@ -1,5 +1,5 @@ - + @@ -16,7 +16,12 @@
-

yourSHOUTER - Startseite

+

+ + + + Simple Example-Project for Template-Development +