mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-17 17:00:25 +00:00
Centralize robots.txt and sitemap
- One robots.txt at root referencing two sitemaps - One central sitemap.xml with all pages (no per-site sitemaps) - Deleted: 4 per-site sitemap templates, 4 per-site robots.txt files - Simplified sitemap template (uses collections.all)
This commit is contained in:
@@ -2,8 +2,4 @@ User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://www.moonweb.org/sitemap.xml
|
||||
Sitemap: https://www.moonweb.org/infra/sitemap.xml
|
||||
Sitemap: https://www.moonweb.org/smarthome/sitemap.xml
|
||||
Sitemap: https://www.moonweb.org/code/sitemap.xml
|
||||
Sitemap: https://www.moonweb.org/retro/sitemap.xml
|
||||
Sitemap: https://www.moonweb.org/timecapsule/sitemap.xml
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
permalink: /sitemap.xml
|
||||
sitemapCollection: "hub"
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
{% include "sitemap.njk" %}
|
||||
|
||||
Reference in New Issue
Block a user