From 183b0289989ab936aa6ba3ef52521fcfed12cc8a Mon Sep 17 00:00:00 2001 From: Anton McClure Date: Fri, 10 Jan 2020 04:35:56 +0000 Subject: [PATCH] Change URLs for /news to be SEO-friendly --- index.php | 2 +- news/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 56cdf38..df93893 100755 --- a/index.php +++ b/index.php @@ -73,7 +73,7 @@ $parser = Tildeverse\Wiki\Parser::factory();

- "> + "> - /">
diff --git a/news/index.php b/news/index.php index ef328bb..e41a1b8 100644 --- a/news/index.php +++ b/news/index.php @@ -44,7 +44,7 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) { foreach (array_reverse(glob("pages/*.md")) as $page) { $yaml = $parser->parse(file_get_contents($page))->getYAML(); if (!$yaml["published"]) continue; ?> - "> -
+ "> -