diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-05 20:48:13 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-05 20:48:13 +0000 |
commit | 09b0a3b73f7c9ca873c3e20a64b124c0749b3d3b (patch) | |
tree | b97942e96826478da4a6060a94100ac778ff9e85 /IkiWiki/Plugin | |
parent | 1d61c4d4d690624f6d6fb34b6decd5507a003298 (diff) | |
download | ikiwiki-09b0a3b73f7c9ca873c3e20a64b124c0749b3d3b.tar ikiwiki-09b0a3b73f7c9ca873c3e20a64b124c0749b3d3b.tar.gz |
* Add rel=tag attribute to tag links, supporting that microformat, as well
as allowing them to be styled specially. Thanks, NicolasLimare.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/tag.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 48ed1a8f8..bae8e1432 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -60,7 +60,8 @@ sub pagetemplate (@) { #{{{ $template->param(tags => [ map { - link => htmllink($page, $destpage, tagpage($_)) + link => htmllink($page, $destpage, tagpage($_), + rel => "tag") }, sort keys %{$tags{$page}} ]) if exists $tags{$page} && %{$tags{$page}} && $template->query(name => "tags"); |