Sources of 'LORChess' website at https://lorchess.ru
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
773B

  1. ---
  2. ---
  3. <?xml version="1.0" encoding="utf-8"?>
  4. <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  5. <url>
  6. <loc>{{ site.url }}/</loc>
  7. <lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
  8. </url>
  9. {% assign exclude = ".htaccess sitemap.xml robots.txt" | split: " " %}
  10. {% for page in site.pages %}
  11. {% assign basename = page.url | split: "/" | last %}
  12. {% unless exclude contains basename %}
  13. <url>
  14. <loc>{{ site.url }}{{ page.url }}</loc>
  15. <lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
  16. </url>
  17. {% endunless %}
  18. {% endfor %}
  19. {% for post in site.posts %}
  20. <url>
  21. <loc>{{ site.url }}{{ post.url }}</loc>
  22. <lastmod>{{ post.date | date: "%Y-%m-%d" }}</lastmod>
  23. </url>
  24. {% endfor %}
  25. </urlset>