From de9c94f339f5c35518c162e3d68dffc983075553 Mon Sep 17 00:00:00 2001
From: Ben Harris
Date: Mon, 29 Mar 2021 11:57:03 -0400
Subject: [PATCH] fix accessibility warning
---
wiki/index.php | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/wiki/index.php b/wiki/index.php
index 67a99e6..3c54ea2 100644
--- a/wiki/index.php
+++ b/wiki/index.php
@@ -33,16 +33,18 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
- pages:
+ pages:
-
+ parse(file_get_contents($page))->getYAML();
if (!$yaml["published"]) continue; ?>
- ">=$yaml["title"]?>
- ">=$yaml["title"]?>
+
+
-} else {
+
+parse(file_get_contents("pages/{$_GET["page"]}.md"));
$yml = $pg->getYAML();