diff options
author | David Riebenbauer <davrieb@liegesta.at> | 2010-04-03 21:10:16 +0200 |
---|---|---|
committer | David Riebenbauer <davrieb@liegesta.at> | 2010-04-03 22:20:48 +0200 |
commit | 981400177d68a279f485727be3f013e68f0bf691 (patch) | |
tree | 228443b89edb0da20fe739c54d6b45aae5585863 /IkiWiki/Plugin | |
parent | 628a52a6c49f5d2fc5af251f2d718c8dff5e8ed5 (diff) |
Make sure deleted tag pages don't get recreated.
The reason to do this is basically a user interaction design decision.
It is achieved by adding an entry, associated to the creating plugin, to
%pagestate. To find out if files were deleted a new global hash %del_hash is
%introduced.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/tag.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index c6c99ae45..fdd63d637 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -72,7 +72,7 @@ sub gentag ($) { my $tagfile = newpagefile(tagpage($tag), $config{default_pageext}); $tagfile=~s/^\///; - return if (! add_autofile($tagfile)); + return if (! add_autofile($tagfile, "tag")); debug(sprintf(gettext("creating tag page %s"), $tag)); |