yaml - 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.
关于如何解决这个问题的任何想法,或者我应该研究什么?
解决方案
我的上帝... *facepalm 我只需要摆脱.nojekyll
默认情况下,GitHub Pages 将使用 Jekyll 构建您的站点。如果您想使用 Jekyll 以外的静态站点生成器,请通过在发布源的根目录中创建一个名为 .nojekyll 的空文件来禁用 Jekyll 构建过程,然后按照静态站点生成器的说明在本地构建站点。
推荐阅读
- material-ui - 为什么 Material UI 根据生产使用不同的构建配置
- android - 如何在我的 recyclerview 中显示 firebase 数据的用户 ID 的子数据?
- pdf - 使用 OLE 在 Microsoft Word 中打开 pdf 文件
- python - 在python中标记多语言文本
- shell - 如何从文件中grep所有以模式开头的行
- json - jq 以选项卡格式获取所有值
- visual-studio-code - 聚合物服务重新格式化文件
- php - 使用 PHP 和 AJAX 检索数据库数据
- android-studio - 如何在 Android 中将位图转换为图像
- javascript - 如何在 React Native 中创建具有内部弯曲底部的三角形