【发布时间】:2021-10-29 15:24:18
【问题描述】:
我在本地托管的 Jekyll 网站和 GitHub Pages 上的实时网站之间遇到了奇怪的风格差异。更具体地说,该网站在本地以正确的格式显示,但在实时版本中显示的是乱码。我检查了下面链接的相关问题,但没有一个提供可行的解决方案。
- Jekyll site works locally but not on Github Pages
- Local Jekyll Serve/Live Site discrepancy
- Jekyll site won't display on GitHub Pages
- https://github.com/mmistakes/minimal-mistakes/issues/951
我的仓库在这里:https://github.com/PlatosTwin/WUA/tree/gh-pages/docs。
直播网站在这里:https://platostwin.github.io/WUA/。
What the live page looks like.
What the local page looks like.
我怀疑我的主题自定义是罪魁祸首,但我在 Jekyll 方面不够专业,不知道去哪里看或可能出了什么问题。关于如何以正确的样式同步本地和实时页面的任何想法?
提前感谢您的任何建议!
【问题讨论】:
标签: css jekyll github-pages minima