summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-11 12:24:36 -0500
committer53hornet <atc@53hor.net>2021-12-11 12:24:36 -0500
commit58a720d84854b7a63ebeacbb58b1f87baa1eaf9f (patch)
tree6c4b5888ea45fa1d36a210e0e4003396611a2166
parent69631b42fae57ecf1fd84271421152035535980f (diff)
download53hor-58a720d84854b7a63ebeacbb58b1f87baa1eaf9f.tar.xz
53hor-58a720d84854b7a63ebeacbb58b1f87baa1eaf9f.zip
fix: posts not rendering in feed
-rw-r--r--feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index f76377c..7a96450 100644
--- a/feed.php
+++ b/feed.php
@@ -19,7 +19,7 @@
$title = str_replace('<h1>', '', fgets(fopen("./posts/$post", 'r')));
$title = str_replace('</h1>', '', $title);
$post = str_replace('.php', '', $post);
- printf('<item><link>https://www.53hor.net/posts/%s</link><title>%s</title></item>', $post, $title);
+ printf('<item><link>https://www.53hor.net/%s</link><title>%s</title></item>', $post, $title);
}
?>
</channel>