summaryrefslogtreecommitdiff
path: root/doc/todo/using_meta_titles_for_parentlinks.html
diff options
context:
space:
mode:
authorCord <Cord@web>2008-08-27 02:18:39 -0400
committerJoey Hess <joey@kitenet.net>2008-08-27 02:18:39 -0400
commitffa2913b453f4318b032abfbb593fdae956d88a4 (patch)
treefb06a09f58a901e1569b607379116653a220dee9 /doc/todo/using_meta_titles_for_parentlinks.html
parentfff0adf91f8bf560a618ec324c11b09511a5ad3d (diff)
removing debug-lines.
Diffstat (limited to 'doc/todo/using_meta_titles_for_parentlinks.html')
-rw-r--r--doc/todo/using_meta_titles_for_parentlinks.html6
1 files changed, 1 insertions, 5 deletions
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;
+ } #}}}
+