Merge commit 'db0870bdcb7a4eee760ba350406413b5fe84e638' into develop

This commit is contained in:
2025-09-22 09:51:52 +02:00
2 changed files with 33 additions and 18 deletions
+11
View File
@@ -0,0 +1,11 @@
<?= '<?xml version="1.0" encoding="utf-8"?>'; ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php foreach ($pages as $p): ?>
<?php if (in_array($p->uri(), $ignore)) continue ?>
<url>
<loc><?= html($p->url()) ?></loc>
<lastmod><?= $p->modified('c', 'date') ?></lastmod>
<priority><?= ($p->isHomePage()) ? 1 : number_format(0.5 / $p->depth(), 1) ?></priority>
</url>
<?php endforeach ?>
</urlset>