]> git.bts.cx Git - cx.git/blobdiff - cx/templates/public/pages/base.php
Fix CSS for images
[cx.git] / cx / templates / public / pages / base.php
index 5caac0dd596660e950409972449f6427822913bd..7629caed06ba1e4648e9ca5583527208b2bfe8a1 100644 (file)
@@ -52,7 +52,7 @@
 <li><a href="<?= cx_url('/'); ?>">Home</a></li>
 
 <?php foreach (cx_pages_get() as $page): ?>
-<li><a href="<?= cx_url('/' . $page->slug); ?>"><?= $page->title ?></a></li>
+<li><a href="<?= cx_url($page->get_permalink_path()); ?>"><?= $page->title ?></a></li>
 <?php endforeach; ?>
 </ul>