Add support for multi-word custom HTML page name
This commit is contained in:
parent
6d4354c97f
commit
b61afa9502
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@
|
|||
</li>
|
||||
<?php foreach ($pages as $page):?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo strtolower(basename($page, '.html'))?>"><?php echo basename($page, '.html')?></a>
|
||||
<a class="nav-link" href="<?php echo strtolower(basename($page, '.html'))?>"><?php echo str_replace('_', ' ', basename($page, '.html'))?></a>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue