Skip to content

Commit

Permalink
fix quotes in php
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Möritz <tobias@moeritz.io>
  • Loading branch information
tobimori authored Mar 17, 2024
1 parent 428a172 commit 9e40fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sitemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The generator function allows you to programmatically generate sitemaps and add

```php
return [
`tobimori.seo.sitemap.generator` => function (SitemapIndex $sitemap) {
'tobimori.seo.sitemap.generator' => function (SitemapIndex $sitemap) {
$pages = site()->index()->filter(fn ($page) => $page->metadata()->robotsIndex()->toBool())->group('intendedTemplate');

foreach ($pages as $group) {
Expand Down

0 comments on commit 9e40fce

Please sign in to comment.