Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mention style.css changes
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
tag.pm
diff --git
a/IkiWiki/Plugin/tag.pm
b/IkiWiki/Plugin/tag.pm
index cd7ecc212fd7c928560ade98d34366ae9da45999..62f030f4eda9dd384b5127a0656eebc0170d6120 100644
(file)
--- a/
IkiWiki/Plugin/tag.pm
+++ b/
IkiWiki/Plugin/tag.pm
@@
-36,7
+36,7
@@
sub getsetup () {
},
tag_autocreate => {
type => "boolean",
},
tag_autocreate => {
type => "boolean",
- example =>
0
,
+ example =>
1
,
description => "autocreate new tag pages?",
safe => 1,
rebuild => undef,
description => "autocreate new tag pages?",
safe => 1,
rebuild => undef,
@@
-67,7
+67,8
@@
sub htmllink_tag ($$$;@) {
sub gentag ($) {
my $tag=shift;
sub gentag ($) {
my $tag=shift;
- if ($config{tag_autocreate}) {
+ if ($config{tag_autocreate} ||
+ ($config{tagbase} && ! defined $config{tag_autocreate})) {
my $tagpage=taglink($tag);
if ($tagpage=~/^\.\/(.*)/) {
$tagpage=$1;
my $tagpage=taglink($tag);
if ($tagpage=~/^\.\/(.*)/) {
$tagpage=$1;