jaandrle / jaandrle.github.io

Personal page/blog
https://jaandrle.github.io/
MIT License
2 stars 3 forks source link

Zobecnění `robots.txt` #68

Closed jaandrle closed 3 years ago

jaandrle commented 3 years ago

Něco jako (viz Jekyll From Scratch - Core Architecture):


---
---
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.url }}/sitemap.xml
jaandrle commented 3 years ago

sitemap.xml by také asi měl reflektovat