1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/preview/pages/robots.liquid
Paweł Kuna 8dffb4e345 Update robots.txt handling and improve sitemap URL generation (#2130)
* Update robots.txt handling and improve sitemap URL generation

* Add dynamic page data handling and update sitemap generation

* Remove debug output from sitemap generation

* Create thin-clouds-glow.md
2025-02-05 22:04:57 +01:00

13 lines
241 B
Plaintext

---
layout: null
permalink: robots.txt
---
Sitemap: {% if environment != 'development' %}{{ site.previewUrl }}{% endif %}/sitemap.xml
{% if environment == 'preview' %}
User-agent: *
Disallow:
{% else %}
User-agent: *
Disallow: /
{% endif %}