You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to rename the sitemap.xml file for a Franklin site. We can just rename the file after the build, but it would be convenient if Franklin could do it for us. Would it be reasonable to have an option for this, e.g. sitemap_filename, that would default to sitemap.xml, but could be customized?
I'd be happy to look into a PR for this, but I could use some pointers to understand the codebase. I see it's currently hard-coded in these two places:
We need to rename the
sitemap.xml
file for a Franklin site. We can just rename the file after the build, but it would be convenient if Franklin could do it for us. Would it be reasonable to have an option for this, e.g.sitemap_filename
, that would default tositemap.xml
, but could be customized?I'd be happy to look into a PR for this, but I could use some pointers to understand the codebase. I see it's currently hard-coded in these two places:
Franklin.jl/src/manager/robots_generator.jl
Line 30 in f1f7d04
Franklin.jl/src/manager/sitemap_generator.jl
Line 70 in f1f7d04
Would it be as easy as just adding a
globvar(:sitemap_file)
call to those places?The text was updated successfully, but these errors were encountered: