mirror of
https://github.com/sigmasternchen/grimoire
synced 2025-03-15 08: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):
|
||||
if sitemap_config["compression"]:
|
||||
return ".yml.gz"
|
||||
return ".xml.gz"
|
||||
else:
|
||||
return ".xml"
|
||||
|
||||
|
|
Loading…
Reference in a new issue