mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 21:46:22 +05:30
Small Style Fixes with SubPages
This commit is contained in:
parent
2138c7daed
commit
36c01c08f3
2 changed files with 418 additions and 413 deletions
|
|
@ -1112,9 +1112,9 @@ function get_menu() {//aktive Link for Sub Pages ::TODO
|
||||||
echo '<li class="' . $class . $active . '">';
|
echo '<li class="' . $class . $active . '">';
|
||||||
|
|
||||||
$subPages = get_static_sub_pages(str_replace('.md', '', $base));
|
$subPages = get_static_sub_pages(str_replace('.md', '', $base));
|
||||||
echo '<a href="' . $url . '">' . ucwords($title) . '</a><br/>';
|
echo '<a href="' . $url . '">' . ucwords($title) . '</a>';
|
||||||
if (!empty($subPages)) {
|
if (!empty($subPages)) {
|
||||||
echo '<ul>';
|
echo '<br/><ul>';
|
||||||
|
|
||||||
$iSub = 0;
|
$iSub = 0;
|
||||||
$countSub = count($subPages);
|
$countSub = count($subPages);
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue