From 8fd9c9accbc3c3e977aa78cb38bf7b264c53bace Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 28 Jul 2006 00:21:13 +0000 Subject: Hope encrico doesn't mind, but I changed the location and layout of the tags on the templates. This way seems to fit better with the links. Also some css cleanup, avoid hardcoded etc. --- IkiWiki/Plugin/tag.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 957fd986d..c4e12e61d 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -40,10 +40,10 @@ sub pagetemplate (@) { #{{{ my $destpage=$params{destpage}; my $template=$params{template}; - $template->param(tags => join(', ', - map { IkiWiki::htmllink($page, $destpage, $_) } - @{$tags{$page}})) - if exists $tags{$page} && $template->query(name => "tags"); + $template->param(tags => [ + map { link => IkiWiki::htmllink($page, $destpage, $_) }, + @{$tags{$page}} + ]) if exists $tags{$page} && @{$tags{$page}} && $template->query(name => "tags"); } # }}} 1 -- cgit v1.2.3