mirror of
https://github.com/friendica/friendica-directory
synced 2024-11-14 16:17:35 +01:00
Add support for multi-word custom HTML page name
This commit is contained in:
parent
6d4354c97f
commit
b61afa9502
|
@ -98,7 +98,7 @@
|
||||||
</li>
|
</li>
|
||||||
<?php foreach ($pages as $page):?>
|
<?php foreach ($pages as $page):?>
|
||||||
<li class="nav-item">
|
<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>
|
</li>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue