summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-04 04:29:18 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-04 04:29:18 +0000
commit91e416b5f3c54aed844be4291f04e13e678c02bf (patch)
tree7aa1f7fcb359087d8606a4371719b1709a68eecb /IkiWiki/Plugin
parentd9ea7d5b0b8f6d224fa909b11c53607f2ae39fa9 (diff)
* Also generate rel=bookmark links for permalinks.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/meta.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index adfd688a6..0890830a7 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -62,6 +62,7 @@ sub preprocess (@) { #{{{
}
elsif ($key eq 'permalink') {
$permalink{$page}=$value;
+ $meta{$page}.="<link rel=\"bookmark\" href=\"".encode_entities($value)."\" />\n";
}
else {
$meta{$page}.="<meta name=\"".encode_entities($key).