Merge branch 'master' into autotag
authorJoey Hess <joey@kitenet.net>
Thu, 22 Apr 2010 00:18:44 +0000 (20:18 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 22 Apr 2010 00:19:06 +0000 (20:19 -0400)
Conflicts:
IkiWiki/Plugin/tag.pm

IkiWiki/Plugin/tag.pm
doc/ikiwiki/directive/tag.mdwn

index a7f37a5122b30da2a8716200093a98ef3aa6f189..cd7ecc212fd7c928560ade98d34366ae9da45999 100644 (file)
@@ -46,7 +46,7 @@ sub getsetup () {
 sub taglink ($) {
        my $tag=shift;
        
-       if ($tag !~ m{^\.?/} &&
+       if ($tag !~ m{^/} &&
            defined $config{tagbase}) {
                $tag="/".$config{tagbase}."/".$tag;
                $tag=~y#/#/#s; # squash dups
index 64736f8cddfd0ec31ad05231a19f01e7df28dfc6..807a96f25b96ce5cff248d4001b8255f12d13559 100644 (file)
@@ -28,7 +28,7 @@ into the `link()` [[ikiwiki/PageSpec]] you use: e.g., if your tagbase is
 If you want to override the tagbase for a particular tag, you can use
 something like this:
 
-       \[[!tag ./foo]]
+       \[[!tag /foo]]
        \[[!taglink /foo]]
 
 [[!meta robots="noindex, follow"]]