swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit fae47cf89acc7809bef6be5fec4084d4c2f4a8b2
parent 501dac6aac6ce16f6c098c75bd0c782fcf1f8dc9
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Wed, 20 Jun 2007 07:42:47 +0200

Fix bug that broke project blogs (that had set blogDirs in parental _config)
Diffstat:
Mbin/controller.rc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/controller.rc b/bin/controller.rc @@ -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 = () }