Open mikolajlubiak opened 1 year ago
When I put the robots.txt in the layouts/robots.txt it doesn't get copied over during the build. But if I put the file in static then the .Site.BaseURL doesn't get processed, how are you getting it to copy over from layouts?
When I put the robots.txt in the layouts/robots.txt it doesn't get copied over during the build. But if I put the file in static then the .Site.BaseURL doesn't get processed, how are you getting it to copy over from layouts?
Honestly I don't remember doing anything special. If I recall correctly I even cloned this pull request to check whether everything is working as it should, and it was, without need for additional configuration.
Enable robots in config.toml Add robots template