【问题标题】:Github-pages showing only front-matterGithub 页面仅显示前端
【发布时间】:2021-02-17 19:24:21
【问题描述】:

我无法看到 index.html 被 jekyll 的前端渲染。其实我在网页上看到的就是前面的内容。

这是文件夹布局:

还有_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.

有什么想法可以解决这个问题,或者我应该研究什么?

【问题讨论】:

    标签: yaml jekyll github-pages


    【解决方案1】:

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

    GitHub Pages 默认使用 Jekyll 构建您的站点。如果你 要使用 Jekyll 以外的静态站点生成器,请禁用 Jekyll 构建过程通过在 您的发布源的根目录,然后关注您的静态站点 生成器在本地构建站点的说明。

    【讨论】:

      猜你喜欢
      • 2018-08-01
      • 2021-12-13
      • 1970-01-01
      • 2020-09-11
      • 1970-01-01
      • 1970-01-01
      • 2022-07-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多