Small fix to last commit's hack, check that we don't have blogDirs or inBlog *after* parsing _config
This commit is contained in:
parent
5125688859
commit
6bb186b132
@ -135,11 +135,11 @@ for ( i in '' $args ) {
|
||||
blogDirs = ()
|
||||
}
|
||||
|
||||
if ( ~ $#inBlog 0 && ~ $i [Bb]log )
|
||||
inBlog = 'yes'
|
||||
|
||||
if ( test -f $fpath/_config )
|
||||
. $fpath/_config
|
||||
|
||||
if ( ~ $#blogDirs 0 && ~ $#inBlog 0 && ~ $i [Bb]log )
|
||||
inBlog = 'yes'
|
||||
}
|
||||
|
||||
template=$sitedir/$template.tpl
|
||||
|
Loading…
Reference in New Issue
Block a user