Add support for multi-word custom HTML page name

pull/22/head
Hypolite Petovan 4 years ago
parent 6d4354c97f
commit b61afa9502

@ -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…
Cancel
Save