X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c5093abddf8cdf583720b099701ff3da5794595d..bd9686c19a53833f9a19abe6d62d1a72ea17810a:/doc/todo/using_meta_titles_for_parentlinks.html diff --git a/doc/todo/using_meta_titles_for_parentlinks.html b/doc/todo/using_meta_titles_for_parentlinks.html index dad1314be..8a42bf4a8 100644 --- a/doc/todo/using_meta_titles_for_parentlinks.html +++ b/doc/todo/using_meta_titles_for_parentlinks.html @@ -80,7 +80,7 @@ diff -c /usr/share/perl5/IkiWiki/Plugin/meta.pm.distrib /usr/share/perl5/IkiWiki *************** *** 289,294 **** ---- 290,323 ---- +--- 290,319 ---- } } #}}} @@ -88,8 +88,6 @@ diff -c /usr/share/perl5/IkiWiki/Plugin/meta.pm.distrib /usr/share/perl5/IkiWiki + my $page=shift; + my $unescaped=shift; + -+ print "debug1: $page\n"; -+ + if ($page =~ m#/#) { + $page =~ s#^/##; + $page =~ s#/index$##; @@ -107,8 +105,6 @@ diff -c /usr/share/perl5/IkiWiki/Plugin/meta.pm.distrib /usr/share/perl5/IkiWiki + $page=~s/(__(\d+)__|_)/$1 eq '_' ? ' ' : "&#$2;"/eg; + } + -+ print "debug2: $page\n"; -+ + return $page; + } #}}} +