Sitemap for Google News

I am running on Ghost V4, hosted by Ghost.
I have checked the tutorial and various posts and I don’t know what is wrong.

I uploaded a sitemap.hbs file as a template with the whole zip file.
It was accepted and activated.
But when I upload the YAML file, there is an error msg:
The following definition “/sitemap” is invalid: please define a template.

Here is the yaml file content:
Capture d’écran 2021-05-06 à 11.18.36

I just can’t find the solution.

Thx for your help guys

Line 4 and 5 need more indentation :slight_smile:

1 Like

Hi Thx for you reply.
As you can tell, I am not a coder.
Can you please tell me a bit more, I still don’t see what I should do as it is exactly writer this way in the tutorial
Thx a lot for your help.

The configuration file is in a format called YAML which is space-sensitive. If your spaces don’t match up, you will either get an error, or the configuration will be incorrectly read

1 Like

Thx for your help.
I used this tool.
It works