Skip to content

Commit

Permalink
Add a sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
DanTup committed Mar 24, 2018
1 parent a361896 commit 2731fa5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Disallow:

Sitemap: https://dartcode.org/sitemap.xml
9 changes: 9 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: none
---
<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc>https://dartcode.org/</loc></url>
{% for p in site.docs %}<url><loc>https://dartcode.org{{ p.url | replace: "/index", "" | escape }}</loc></url>{% endfor %}
{% for p in site.releases %}<url><loc>https://dartcode.org{{ p.url | replace: "/index", "" | escape }}</loc></url>{% endfor %}
</urlset>

0 comments on commit 2731fa5

Please sign in to comment.