summaryrefslogtreecommitdiff
path: root/src/web/_controller/_meta.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_controller/_meta.php')
-rw-r--r--src/web/_controller/_meta.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/_controller/_meta.php b/src/web/_controller/_meta.php
index 891bf69..4500175 100644
--- a/src/web/_controller/_meta.php
+++ b/src/web/_controller/_meta.php
@@ -39,7 +39,8 @@ class _meta_controller extends Controller {
$blog = $blog_modal->get_data()['blog'];
foreach ($blog as $name => $_) {
- $this->sitemap_page("blog/post?name={$name}", 0.5);
+ $name = substr($name, 0, -3);
+ $this->sitemap_page("blog/post/{$name}", 0.5);
}
echo "</urlset>\n";