update assets location

This commit is contained in:
Henrique Dias 2016-06-16 17:08:10 +01:00
parent f9ae9f2619
commit 18afaeb093
23 changed files with 7 additions and 7 deletions

View File

@ -8,11 +8,11 @@ module.exports = function(grunt) {
grunt.initConfig({
watch: {
sass: {
files: ['assets/public_src/css/**/*.css'],
files: ['src/css/**/*.css'],
tasks: ['concat', 'cssmin']
},
js: {
files: ['assets/public_src/js/**/*.js'],
files: ['src/js/**/*.js'],
tasks: ['uglify:main']
},
},
@ -24,7 +24,7 @@ module.exports = function(grunt) {
'node_modules/animate.css/source/bouncing_entrances/bounceInRight.css',
'node_modules/animate.css/source/fading_entrances/fadeIn.css',
'node_modules/animate.css/source/fading_exits/fadeOut.css',
'assets/public_src/css/main.css'
'src/css/main.css'
],
dest: 'temp/css/main.css',
},
@ -35,7 +35,7 @@ module.exports = function(grunt) {
expand: true,
flatten: true,
src: ['node_modules/font-awesome/fonts/**'],
dest: 'assets/public/fonts'
dest: 'assets/dist/public/fonts'
}],
},
},
@ -56,7 +56,7 @@ module.exports = function(grunt) {
uglify: {
plugins: {
files: {
'assets/public/js/plugins.min.js': ['node_modules/jquery/dist/jquery.min.js',
'assets/dist/public/js/plugins.min.js': ['node_modules/jquery/dist/jquery.min.js',
'node_modules/perfect-scrollbar/dist/js/min/perfect-scrollbar.jquery.min.js',
'node_modules/showdown/dist/showdown.min.js',
'node_modules/noty/js/noty/packaged/jquery.noty.packaged.min.js',
@ -67,7 +67,7 @@ module.exports = function(grunt) {
},
main: {
files: {
'assets/public/js/app.min.js': ['assets/public_src/js/**/*.js']
'assets/dist/public/js/app.min.js': ['src/js/**/*.js']
}
}
}

View File

Before

Width:  |  Height:  |  Size: 357 KiB

After

Width:  |  Height:  |  Size: 357 KiB

View File

@ -1,6 +1,6 @@
//go:generate go get github.com/jteeuwen/go-bindata
//go:generate go install github.com/jteeuwen/go-bindata/go-bindata
//go:generate go-bindata -prefix assets/ -pkg assets -o routes/assets/assets.go assets/templates/ assets/public/...
//go:generate go-bindata -prefix assets/dist -pkg assets -o routes/assets/assets.go assets/dist/...
// Package hugo makes the bridge between the static website generator Hugo
// and the webserver Caddy, also providing an administrative user interface.