github pages部署静态页面 引用仓库静态资源
不要写根目录 要写绝对路径

比如正确写法

<link rel="stylesheet" type="text/css" href="https://username.github.io/static/style.css" />

否则会404

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐