Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 21, 2026

Hugo was not generating robots.txt, preventing proper search engine crawling configuration.

Changes

  • Added enableRobotsTXT = true to config/_default/config.toml

This enables Hugo's built-in robots.txt generation, which outputs a default robots.txt with User-agent: * and Allow: / when the site is built.

Original prompt

This section details on the original issue you should resolve

<issue_title>robot.txt not generated</issue_title>
<issue_description>potentially needs to be explicitly activated in config with enableRobotsTXT: true
</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com>
Copilot AI changed the title [WIP] Add functionality to generate robot.txt file Enable robots.txt generation in Hugo config Jan 21, 2026
Copilot AI requested a review from LukasWallrich January 21, 2026 16:45
@github-actions
Copy link
Contributor

✅ Spell Check Passed

No spelling issues found in this PR! 🎉

@github-actions
Copy link
Contributor

👍 All image files/references (if any) are in webp format, in line with our policy.

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 this pull request may close these issues.

robot.txt not generated

2 participants