]> git.bts.cx Git - cx.git/blobdiff - cx/templates/public/base.php
Admin fixes
[cx.git] / cx / templates / public / base.php
index 8629d34791096bc801fdc78e8b51d5b509b9d005..10c5cd17613bc062fe8daa59e30cb141651c94f8 100644 (file)
   <p>Find me <a href="https://mastodon.gamedev.place/@btsherratt" rel="me">@btsherratt</a> or on <a href="https://bts.itch.io/">itch.io</a></p>
 </header>
 
   <p>Find me <a href="https://mastodon.gamedev.place/@btsherratt" rel="me">@btsherratt</a> or on <a href="https://bts.itch.io/">itch.io</a></p>
 </header>
 
-<?php /*<nav>
+<nav>
 
 <ul role="list">
 <li><a href="<?= cx_url('/'); ?>">Home</a></li>
 
 <?php foreach (cx_pages_get() as $page): ?>
 
 <ul role="list">
 <li><a href="<?= cx_url('/'); ?>">Home</a></li>
 
 <?php foreach (cx_pages_get() as $page): ?>
-<li><a href="<?= cx_url($page->url); ?>"><?= $page->title ?></a></li>
+<li><a href="<?= cx_url('/' . $page->slug); ?>"><?= $page->title ?></a></li>
 <?php endforeach; ?>
 </ul>
 
 <?php endforeach; ?>
 </ul>
 
-</nav> */ ?>
+</nav>
 
 <?= cx_template_content(); ?>
 
 
 <?= cx_template_content(); ?>