mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-26 05:32:59 +00:00
Fix repeated page names on sidebar - remove index.php
Remove changes from build/index.php
This commit is contained in:
parent
9ed0d666f9
commit
d02bccf145
1 changed files with 3568 additions and 3571 deletions
|
@ -2068,9 +2068,6 @@ function render_sidebar($pageindex, $root_pagename = "")
|
||||||
if($pagename == $root_pagename)
|
if($pagename == $root_pagename)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// If the page already appears on the sidebar, skip it
|
|
||||||
if(preg_match("/>$pagename<\a>/m",$result)===1)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// If the part of the current pagename that comes after the root
|
// If the part of the current pagename that comes after the root
|
||||||
// pagename has a slash in it, skip it as it is a sub-sub page.
|
// pagename has a slash in it, skip it as it is a sub-sub page.
|
||||||
|
|
Loading…
Reference in a new issue