From 0935e380c57b3c7e0cf3ecae587cca945f4eceb3 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 20 Sep 2007 19:23:43 +0000 Subject: * tag: Add taglink preprocessor directive, supporting visible tag links. * map: Fully specify paths to links to avoid issues when the bestlink didn't point to the correct page. --- IkiWiki/Plugin/map.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin/map.pm') diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm index 1194f6ed2..8037db773 100644 --- a/IkiWiki/Plugin/map.pm +++ b/IkiWiki/Plugin/map.pm @@ -23,7 +23,7 @@ sub preprocess (@) { #{{{ my @mapitems = (); foreach my $page (keys %pagesources) { if (pagespec_match($page, $params{pages}, location => $params{page})) { - push @mapitems, $page; + push @mapitems, "/".$page; } } -- cgit v1.2.3