Skip to content

Commit

Permalink
Merge pull request #474 from SpineEventEngine/absolute-url-in-robots-txt
Browse files Browse the repository at this point in the history
Use an absolute URL for sitemap in `robots.txt`
  • Loading branch information
armiol authored Mar 14, 2024
2 parents 63b347c + 82f832a commit 1e8cc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ User-agent: *
{% for node in site.pages %}{% if node.noindex %}{% assign isset = true %}Disallow: {{ node.url }}
{% endif %}{% endfor %}{% if isset != true %}Disallow:
{% endif %}
Sitemap: {{ site.baseurl }}/sitemap.xml
Sitemap: {{site.url}}{{ site.baseurl }}/sitemap.xml

0 comments on commit 1e8cc4a

Please sign in to comment.