Fix bug that broke project blogs (that had set blogDirs in parental _config)

This commit is contained in:
uriel 2007-06-20 07:42:47 +02:00
parent abbe859888
commit 7569ec910d

View File

@ -132,7 +132,7 @@ fpath=$sitedir
for ( i in '' $args ) {
fpath = $fpath/$i
# We don't want blog settings to cascade into posts, note that we are inBlog instead
if ( ! ~ $#blogDirs 0 && ! ~ $body */indexrss ) {
if ( ! ~ $#blogDirs 0 && ! ~ $body */indexrss */[bB]log */[bB]log/ ) {
inBlog = $blogDirs
blogDirs = ()
}