* Also generate rel=bookmark links for permalinks.

master
joey 2006-08-04 04:29:18 +00:00
parent d9ea7d5b0b
commit 91e416b5f3
3 changed files with 4 additions and 1 deletions

View File

@ -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).

1
debian/changelog vendored
View File

@ -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

View File

@ -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 &lt;meta&gt;