]> git.bts.cx Git - cx.git/blobdiff - cx/templates/admin/pages/main.php
Added support for previewing posts when logged in
[cx.git] / cx / templates / admin / pages / main.php
index c0da49a4d425560a027fc85bee915d9577232c11..14ea9c40069c6d0f8e6a70a54fb972d41128bccc 100644 (file)
@@ -13,7 +13,7 @@
 
 <h2>Pages</h2>
 <table>
-<?php foreach (cx_pages_get(include_drafts: true) as $post): ?>
+<?php foreach (cx_pages_get(navigation_only: false, include_drafts: true) as $post): ?>
 <tr>
  <td class="fill"><a href="<?= cx_url_admin('/posts/edit?id=' . $post->id); ?>"><?= $post->title ?></a></td>
  <td class="hug"><a href="<?= cx_url_admin('/posts/edit?id=' . $post->id); ?>">Edit</a></td>