aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-04-30 13:35:04 -0400
committerJoey Hess <joey@kitenet.net>2013-04-30 13:35:04 -0400
commit6c09c3e646a2b01a4069942e35070bc6a016b371 (patch)
tree9d5d48d251cf5ca1e8c8a72892e65cb79c975218
parent6223b697b4a75e0162878e8181b5df3184c7a0a3 (diff)
downloadikiwiki-6c09c3e646a2b01a4069942e35070bc6a016b371.tar
ikiwiki-6c09c3e646a2b01a4069942e35070bc6a016b371.tar.gz
meta: Fix anchors used to link to the page's license and copyright. Closes: #706437
-rw-r--r--IkiWiki/Plugin/meta.pm4
-rw-r--r--debian/changelog2
2 files changed, 4 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 421f1dc86..7ea70b5d1 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -107,12 +107,12 @@ sub preprocess (@) {
# fallthrough
}
elsif ($key eq 'license') {
- push @{$metaheaders{$page}}, '<link rel="license" href="#page_license" />';
+ push @{$metaheaders{$page}}, '<link rel="license" href="#pagelicense" />';
$pagestate{$page}{meta}{license}=$value;
return "";
}
elsif ($key eq 'copyright') {
- push @{$metaheaders{$page}}, '<link rel="copyright" href="#page_copyright" />';
+ push @{$metaheaders{$page}}, '<link rel="copyright" href="#pagecopyright" />';
$pagestate{$page}{meta}{copyright}=$value;
return "";
}
diff --git a/debian/changelog b/debian/changelog
index c88f3a427..91e465cd8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ ikiwiki (3.20130213) UNRELEASED; urgency=low
generate invalid html. (smcv)
* Makefile.PL: overwrite theme style.css instead of appending
(Thanks, Mikko Rapeli)
+ * meta: Fix anchors used to link to the page's license and copyright.
+ Closes: #706437
-- Joey Hess <joeyh@debian.org> Fri, 15 Feb 2013 17:23:12 -0400