Fix style of prompt.
Optional to rebuild when it is changed. (Needed to get new all missing tags)
tag_autocreate => {
type => "boolean",
example => 0,
- description => "Autocreate new tag pages",
+ description => "autocreate new tag pages?",
safe => 1,
- rebuild => 1,
+ rebuild => undef,
},
}
sub gentag ($) {
my $tag=shift;
- if (defined $config{tag_autocreate} && $config{tag_autocreate}) {
+ if ($config{tag_autocreate}) {
my $tagfile = newpagefile(tagpage($tag), $config{default_pageext});
$tagfile=~s/^\///;