想问一下以 Hugo 模块的方式安装主题,应该如何修改 robot.txt 呢 #684
Answered
by
Lruihao
GitHubd3b7c
asked this question in
Q&A
-
robots.txt template lookup orderYou may overwrite the internal template with a custom template. Hugo selects the template using this lookup order: Hugo的文档是这样写的但是以Hugo模块形式安装Fixit的情况下找不到 layouts 文件夹 |
Beta Was this translation helpful? Give feedback.
Answered by
Lruihao
Jan 9, 2026
Replies: 1 comment
-
|
直接在博客目录创建 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
GitHubd3b7c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
直接在博客目录创建
/layouts/robots.txt。