]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
meta: Fix anchors used to link to the page's license and copyright. Closes: #706437
authorJoey Hess <joey@kitenet.net>
Tue, 30 Apr 2013 17:35:04 +0000 (13:35 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 30 Apr 2013 17:35:04 +0000 (13:35 -0400)
IkiWiki/Plugin/meta.pm
debian/changelog

index 421f1dc86a83d33ac823f9989ad9e42c6dea12c9..7ea70b5d19e17595e2a6b611dee1178347da7a81 100644 (file)
@@ -107,12 +107,12 @@ sub preprocess (@) {
                # fallthrough
        }
        elsif ($key eq 'license') {
                # 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') {
                $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 "";
        }
                $pagestate{$page}{meta}{copyright}=$value;
                return "";
        }
index c88f3a4276ac95c3871d04da2561f2c0273ef3ef..91e465cd84afd096540092f8d1426e7adf2aea1b 100644 (file)
@@ -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)
     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
 
 
  -- Joey Hess <joeyh@debian.org>  Fri, 15 Feb 2013 17:23:12 -0400