Skip to content

Commit

Permalink
Use an absolute URL for sitemap in robots.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
armiol committed Mar 14, 2024
1 parent 63b347c commit 82f832a
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 82f832a

Please sign in to comment.