mirror of
https://github.com/sigmasternchen/grimoire-ssg
synced 2025-03-15 10:08:55 +00:00
fix: Wrong file extension for compressed sitemaps
This commit is contained in:
parent
78f0e22507
commit
1199c036c6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def get_files_to_map(data, sitemap_config):
|
||||||
|
|
||||||
def get_sitemap_file_suffix(sitemap_config):
|
def get_sitemap_file_suffix(sitemap_config):
|
||||||
if sitemap_config["compression"]:
|
if sitemap_config["compression"]:
|
||||||
return ".yml.gz"
|
return ".xml.gz"
|
||||||
else:
|
else:
|
||||||
return ".xml"
|
return ".xml"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue