From 91e416b5f3c54aed844be4291f04e13e678c02bf Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 4 Aug 2006 04:29:18 +0000 Subject: [PATCH] * Also generate rel=bookmark links for permalinks. --- IkiWiki/Plugin/meta.pm | 1 + debian/changelog | 1 + doc/plugins/meta.mdwn | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) 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}.="\n"; } else { $meta{$page}.=" 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>