fix wiki links
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Ben Harris 2022-02-17 12:32:00 -05:00
parent 9ab17ca3ed
commit b3f5c134be
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
<?php foreach (glob("pages/*.md") as $page) {
$yaml = $parser->parse(file_get_contents($page))->getYAML();
if (!$yaml["published"]) continue; ?>
<a href="?page=<?=basename($page, ".md")?>"><?=$yaml["title"]?></a><br>
<a href="<?=basename($page, ".md")?>"><?=$yaml["title"]?></a><br>
<?php } ?>