Skip to content

Commit

Permalink
fix: php cs fixer syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
holmey committed May 25, 2023
1 parent e0f0aca commit e61fbed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/snippets/sitemap.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?= '<?xml version="1.0" encoding="utf-8"?>'; ?>
<?php echo '<?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 ?? [])) {
Expand All @@ -10,4 +10,4 @@
<priority><?= ($p->isHomePage()) ? 1 : number_format(0.5 / $p->depth(), 1) ?></priority>
</url>
<?php endforeach ?>
</urlset>
</urlset>

0 comments on commit e61fbed

Please sign in to comment.