mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
bugfix active menu link
This commit is contained in:
parent
e4f2a994ab
commit
c78e7fccba
1 changed files with 1 additions and 1 deletions
|
|
@ -1139,7 +1139,7 @@ function get_menu() {
|
|||
} else {
|
||||
$active = '';
|
||||
}
|
||||
echo '<li class="' . $class . '"' . $active . '>';
|
||||
echo '<li class="' . $class . ' ' . $active . '">';
|
||||
|
||||
$subPages = get_static_sub_pages(str_replace('.md', '', $base));
|
||||
echo '<a href="' . $url . '">' . ucwords($title) . '</a><br/>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue