aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-28 00:21:13 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-28 00:21:13 +0000
commit8fd9c9accbc3c3e977aa78cb38bf7b264c53bace (patch)
tree317a5ac21db45be395a53e3a07e0b04a10fb0d85 /IkiWiki
parent22df49a2bf92302d4c6e25a04e9c7589a93844a9 (diff)
downloadikiwiki-8fd9c9accbc3c3e977aa78cb38bf7b264c53bace.tar
ikiwiki-8fd9c9accbc3c3e977aa78cb38bf7b264c53bace.tar.gz
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 <i> etc.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/tag.pm8
1 files changed, 4 insertions, 4 deletions
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