wiki fix
This commit is contained in:
parent
c19710d6bf
commit
4e8573ed19
|
@ -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; ?>
|
||||
|
|
Loading…
Reference in New Issue