首页 > 解决方案 > Github 页面仅显示前端

问题描述

我无法看到index.html用 jekyll 的前题渲染的 get。事实上,前面的内容就是我在网页上看到的所有内容。

页面未呈现

这是文件夹布局: 在此处输入图像描述

_config.yml

title: badabing badaboom
email: xyz@gmail.com
description: tbd
#baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: 
github_username: 
encoding: utf-8
# Build settings
theme: jekyll-theme-clean-blog
plugins:
  - jekyll-feed
remote_theme:  StartBootstrap/startbootstrap-clean-blog-jekyll 
# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.

关于如何解决这个问题的任何想法,或者我应该研究什么?

标签: yamljekyllgithub-pages

解决方案


我的上帝... *facepalm 我只需要摆脱.nojekyll

默认情况下,GitHub Pages 将使用 Jekyll 构建您的站点。如果您想使用 Jekyll 以外的静态站点生成器,请通过在发布源的根目录中创建一个名为 .nojekyll 的空文件来禁用 Jekyll 构建过程,然后按照静态站点生成器的说明在本地构建站点。


推荐阅读