Skip to content

How to customize robots.txt file ? #327

Closed Answered by Kapusch
Kapusch asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, I had to copy the robots.txt file under themes/FixIt/layouts/ folder to my-own-blog/layouts folder.

And after running command hugo to publish my blog, I have been able to confirm the generated robots.txt file is now based on my own file.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kapusch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant