简体   繁体   English

Github 页面编辑未显示

[英]Github pages edits not showing

I am currently trying to update a project page on my github website, however the page Isn't building correctly.我目前正在尝试更新我的 github 网站上的项目页面,但是该页面没有正确构建。 I made my edits and committed them then I waited a bit and checked my page to see if the worked and nothing happens.我进行了编辑并提交了它们,然后我稍等片刻并检查了我的页面以查看是否有效并且没有任何反应。 I checked my email and I got an error from github the the main branch didn't load correctly but It didn't give an error message so I don't know what went wrong.我检查了我的 email 并从 github 收到错误,主分支没有正确加载,但它没有给出错误消息,所以我不知道出了什么问题。 here's the link to the github site geeko.github.io and here's the website's github github.com/Geeko.geeko/github.io here's the link to the github site geeko.github.io and here's the website's github github.com/Geeko.geeko/github.io

edit: I am currently getting this error: GitHub Metadata: site.name is set in _config.yml, but many plugins and themes expect site.title to be used instead.编辑:我目前收到此错误:GitHub 元数据:site.name 在 _config.yml 中设置,但许多插件和主题希望使用 site.title。 To avoid potential inconsistency, Jekyll GitHub Metadata will not set site.title to the repository's name.为了避免潜在的不一致,Jekyll GitHub Metadata 不会将 site.title 设置为存储库的名称。 Source: /page-build/repo Destination: /page-build/site-source-pagesjekyll-ftw Liquid Exception: Invalid syntax for include tag: {% include disqus.html Valid syntax: {% include disqus.html Valid syntax: {% include file.ext param='value' param2='value' %} in /_layouts/default.html Fatal: ArgumentError Invalid syntax for include tag: {% include disqus.html Valid syntax: {% include disqus.html Valid syntax: {% include file.ext param='value' param2='value' %}来源:/page-build/repo 目的地:/page-build/site-source-pagesjekyll-ftw Liquid 异常:包含标签的语法无效:{% include disqus.html 有效语法:{% include disqus.html 有效语法:{ % include file.ext param='value' param2='value' %} in /_layouts/default.html Fatal: ArgumentError Invalid syntax for include tag: {% include disqus.html Valid syntax: {% include disqus.html Valid syntax : {% include file.ext param='value' param2='value' %}

After a bit of searching I found this link .经过一番搜索,我找到了这个链接

It suggest using Jekyll for building and then deploying website to GitHub pages because GitHub can sometimes act strange when building source.它建议使用Jekyll构建网站,然后将网站部署到 GitHub 页面,因为 GitHub 在构建源代码时有时会表现得很奇怪。

I suggest you to go check Jekyll and that post I linked above.我建议你 go 检查Jekyll和我上面链接的那个帖子。

Come back here if you still have an issue如果您仍有问题,请回到这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM