diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-28 17:48:24 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-28 17:48:24 +0000 |
commit | a0653933d324f30838fe04d5f9aaab8b130014b2 (patch) | |
tree | b8c1bd9ed42cf27dd6b5238e19020bf06d55e87d /IkiWiki/Plugin | |
parent | 201e681d3413d93c99af614042d26ad9a74edfcf (diff) |
* Add exclude option in setup files, works same as --exclude.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/tag.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 56bf17e2c..289b48b87 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -34,7 +34,8 @@ sub preprocess (@) { #{{{ $tags{$page} = []; foreach my $tag (keys %params) { - if (exists $IkiWiki::config{tagbase}) { + if (exists $IkiWiki::config{tagbase} && + defined $IkiWiki::config{tagbase}) { $tag=$IkiWiki::config{tagbase}."/".$tag; } push @{$tags{$page}}, $tag; |