【发布时间】:2019-11-28 17:32:20
【问题描述】:
我使用 hello-world starter 开发了我的第一个 gatsby 网站。它只包含索引页面+自定义404页面。
通过构建有关于生成 3 个静态页面的信息:
-
index.hmtl;
-
/public/404/index.html & /public/404.html,按内容自定义 404 页面。
想知道为什么在不同的路径上有两次类似的文件。
是否与路由机制或搜索引擎优化/爬虫目的有关?
【问题讨论】:
标签: gatsby