retypeapp / retype

Retype is an ✨ ultra-high-performance✨ static site generator that builds a website based on simple text files.
https://retype.com
Other
1.06k stars 204 forks source link

Please add unpacked Sitemap.xml to root folder #590

Open sergeykorobeynikov opened 1 year ago

sergeykorobeynikov commented 1 year ago

Not all search engines index sitemap.xml.gz, even those defined in robots.txt. Thank you for v3.1.

geoffreymcgill commented 1 year ago

Hi @sergeykorobeynikov,

Do you know what search engines do not support the .xml.gz format?

As a work-around, you could manually unzip the sitemap.xml.gz file and add the sitemap.xml into the root of your project, and add the following retype.yml project config:

include:
  - "sitemap.xml"

When Retype builds, the sitemap.xml file will be automatically copied to the output folder.

Hope this helps.

latenitefilms commented 1 year ago

Unrelated - thanks for this post @geoffreymcgill - it's given me some ideas how to better handles my RSS code!