Is it possible to access .Sitemap.Filename inside other template files? In my case, I am trying to access .Sitemap.Filename inside robots.txt in order to reference the sitemap.
I have tried to add the following, but with no luck I realise I can hardcode the path, however I would like to keep this as dynamic as possible.
Sitemap: {{ .Sitemap.Filename }}
I’m a newbie here, so apologies for the newbie question