【发布时间】:2019-05-12 14:39:00
【问题描述】:
当我运行jekyll serve 时,我会在浏览器中打开站点 localhost:4000。部分页面显示 404。服务指示错误 "error `/' not found"。
但是打开网站时使用'https://username.github.io',一切正常。
完全糊涂了。
【问题讨论】:
当我运行jekyll serve 时,我会在浏览器中打开站点 localhost:4000。部分页面显示 404。服务指示错误 "error `/' not found"。
但是打开网站时使用'https://username.github.io',一切正常。
完全糊涂了。
【问题讨论】:
您需要将“_config.yml”中的参数“baseurl”更改为您希望为您的网站提供服务的路径或注释“baseurl”行以允许“/” 改为使用。
【讨论】: