aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
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 /IkiWiki
parent6223b697b4a75e0162878e8181b5df3184c7a0a3 (diff)
downloadikiwiki-6c09c3e646a2b01a4069942e35070bc6a016b371.tar
ikiwiki-6c09c3e646a2b01a4069942e35070bc6a016b371.tar.gz
meta: Fix anchors used to link to the page's license and copyright. Closes: #706437
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/meta.pm4
1 files changed, 2 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 "";
}