Duplicate sitemap temporarily
Long story, google search console has a bug and the original sitemap is not being read. I need to copy it to a new location
This commit is contained in:
parent
ccf568b760
commit
160a8b2760
|
@ -50,3 +50,8 @@ def create_sitemap(app, exception):
|
|||
xml_declaration=True,
|
||||
encoding='utf-8',
|
||||
method="xml")
|
||||
filename2 = app.outdir + "/sitemap2.xml"
|
||||
ET.ElementTree(root).write(filename2,
|
||||
xml_declaration=True,
|
||||
encoding='utf-8',
|
||||
method="xml")
|
||||
|
|
Loading…
Reference in New Issue