Add Custom Pages feature
- Add config/pages directory - Add new custom pages controller and route - Add generated links in the footer
This commit is contained in:
parent
8c1d4404c7
commit
e36805c206
7 changed files with 68 additions and 1 deletions
|
|
@ -96,6 +96,11 @@
|
|||
<li class="nav-item">
|
||||
<a class="nav-link" href="stats"><i class="fa fa-clipboard-list"></i> <?php echo $this->__('Stats')?></a>
|
||||
</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>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue