This commit is contained in:
Anton McClure 2020-07-02 16:44:40 -04:00
parent c19710d6bf
commit 4e8573ed19
No known key found for this signature in database
GPG Key ID: 95F468320CF39788
1 changed files with 1 additions and 1 deletions

View File

@ -11,9 +11,9 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
</p>
<hr />
<div class="content">
<?php
<h3>Uncategorized</h3>
<ul>
<?php
foreach (array_reverse(glob("pages/*.md")) as $page) {
$yaml = $parser->parse(file_get_contents($page))->getYAML();
if (!$yaml["published"]) continue; ?>