Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated files should respect the extension when being generated #62

Closed
fitzage opened this issue Jun 7, 2021 · 0 comments · Fixed by #64
Closed

Generated files should respect the extension when being generated #62

fitzage opened this issue Jun 7, 2021 · 0 comments · Fixed by #64

Comments

@fitzage
Copy link

fitzage commented Jun 7, 2021

I have a dynamic robots.txt generation setup that works fine with a dynamic statamic site. However, when this gets generated via the static site generator, I get /robots.txt/index.html instead of /robots.txt.

The same thing happens with the sitemap.xml generated by SEO Pro. SSG creates this as /sitemap.xml/index.html instead of /sitemap.xml.

The files contain the contents they’re supposed to at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant