diff options
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 1 | ||||
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | doc/plugins/meta.mdwn | 3 |
3 files changed, 4 insertions, 1 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). diff --git a/debian/changelog b/debian/changelog index 02638688e..c6de974c6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ ikiwiki (1.16) UNRELEASED; urgency=low * Various CSS and formatting changes. * Encode link and guid urls in rss feeds to avoid illegal utf8 slipping in. * Add xhtml files to the default prune regexp. + * Also generate rel=bookmark links for permalinks. -- Joey Hess <joeyh@debian.org> Thu, 3 Aug 2006 22:35:11 -0400 diff --git a/doc/plugins/meta.mdwn b/doc/plugins/meta.mdwn index cacb462c9..de04dcdd5 100644 --- a/doc/plugins/meta.mdwn +++ b/doc/plugins/meta.mdwn @@ -38,7 +38,8 @@ You can use any field names you like, but here are some predefined ones: * permalink - Specifies the permalink to the page, for use in RSS feeds. + Specifies a perminent link to the page, if different than the page + generated by ikiwiki. If the field is not treated specially (as the link and title fields are), the metadata will be written to the generated html page as a <meta> |