mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 20:46:26 +05:30
Add class to submenu
This commit is contained in:
parent
45817b639f
commit
1ec950f505
1 changed files with 1 additions and 1 deletions
|
|
@ -1156,7 +1156,7 @@ function get_menu()
|
|||
$subPages = get_static_sub_pages(str_replace('.md', '', $base));
|
||||
echo '<a href="' . $url . '">' . ucwords($title) . '</a>';
|
||||
if (!empty($subPages)) {
|
||||
echo '<ul>';
|
||||
echo '<ul class="subnav">';
|
||||
|
||||
$iSub = 0;
|
||||
$countSub = count($subPages);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue