mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
handle .htaccess copying/watching correctly
This commit is contained in:
parent
964c82dd37
commit
2b6806f492
@ -31,6 +31,7 @@ module.exports = function(grunt){
|
|||||||
clean: {
|
clean: {
|
||||||
build: [
|
build: [
|
||||||
'<%= config.site %>/*',
|
'<%= config.site %>/*',
|
||||||
|
'<%= config.site %>/.htaccess',
|
||||||
'!<%= config.site %>/media'
|
'!<%= config.site %>/media'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -50,7 +51,7 @@ module.exports = function(grunt){
|
|||||||
options: {
|
options: {
|
||||||
drafts: true,
|
drafts: true,
|
||||||
future: true,
|
future: true,
|
||||||
//limit_posts: 50
|
limit_posts: 50
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -167,8 +168,9 @@ module.exports = function(grunt){
|
|||||||
files: [
|
files: [
|
||||||
'<%= config.src %>/**/*.html',
|
'<%= config.src %>/**/*.html',
|
||||||
'<%= config.src %>/*.xml',
|
'<%= config.src %>/*.xml',
|
||||||
'<%= config.src %>/*.json',
|
'<%= config.src %>/*.json',
|
||||||
'<%= config.src %>/_includes/**',
|
'<%= config.src %>/.htaccess',
|
||||||
|
'<%= config.src %>/_includes/**',
|
||||||
'<%= config.src %>/_layouts/**',
|
'<%= config.src %>/_layouts/**',
|
||||||
'<%= config.src %>/_posts/**',
|
'<%= config.src %>/_posts/**',
|
||||||
'<%= config.src %>/_drafts/**'
|
'<%= config.src %>/_drafts/**'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
kremalicious3
|
kremalicious3
|
||||||
==================
|
==================
|
||||||
|
|
||||||
> [kremalicious.com](http://kremalicious.com) based on Jekyll. Neat.
|
> [kremalicious.com](http://kremalicious.com) based on [Jekyll](http://jekyllrb.com). Neat.
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------------
|
------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user