Github Pages 在启动网站时显示空白页面

Github Pages shows blank page when launching a website

我的回购:https://github.com/JainUmang/jainumang.github.io 我的网站:https://jainumang.github.io /

我不明白为什么我的 GitHub 页面无法加载我的任何源文件。我想加载 index[dot]php 文件。在本地主机上一切正常。它只加载自述文件。如果有人可以帮助我。我是新手。

我没有与 Github Pages, but looking at the documentation, they do not support PHP files, as they only support static files. You can use Markdown or HTML files, or instead, static files can be generated using Jekyll 一起工作。

如果您确实想添加动态功能,您可以使用 iframe。但是,iframe 中显示的任何内容都应托管在其他地方。

Github 只是一个存储库站点,没有部署或任何此类服务器端脚本平台。

您不能 运行 github 上的任何服务器端脚本是的,您可以查看 HTML 文件。

尝试在一些托管网站上托管您的 site/project,例如

  1. 000 网络主机
  2. heroku 等