Skip to content

Commit

Permalink
fix: sitemap entries
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Dec 11, 2024
1 parent 2165e68 commit f94bfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}

if (isset($pluginConfig['sitemaps'])) {
$robotTxt = array_merge($robotTxt, $pluginConfig['sitemaps']);
$robotTxt = array_merge($robotTxt, array_map(fn($url) => "Sitemap: $url", $pluginConfig['sitemaps']));
}

if (!is_null($apiEntries)) {
Expand Down

0 comments on commit f94bfa6

Please sign in to comment.