]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/meta.pm
* Also generate rel=bookmark links for permalinks.
[git.ikiwiki.info.git] / IkiWiki / Plugin / meta.pm
index adfd688a6aeece5cdf1f55b8578727ffbc111369..0890830a77d2a3f9be4329df4fb7f6a92e129a7d 100644 (file)
@@ -62,6 +62,7 @@ sub preprocess (@) { #{{{
        }
        elsif ($key eq 'permalink') {
                $permalink{$page}=$value;
        }
        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).
        }
        else {
                $meta{$page}.="<meta name=\"".encode_entities($key).