【问题标题】:GitHub User Page New Themes and Changes Not UpdatingGitHub 用户页面新主题和更改未更新
【发布时间】:2020-04-14 09:08:22
【问题描述】:

我一直在尝试自定义我的 GitHub 用户页面,并严格按照提供的(以下)说明进行操作。 https://github.com/github/personal-website

网站正在运行,但我选择了“jekyll-theme-minimal”主题并在“_config.yml”和“index.md”页面中添加了相应的行。我什至将 jekyll 最小主题文件夹中的“includes”、“layouts”和“assets”文件夹复制到了我的个人网站目录中。但没有更新。此外,我对网站进行了一些更改(例如更改个人资料照片),但在下面的个人网站上没有观察到任何更改:

https://yjkimnada.github.io

下面是github目录:

https://github.com/yjkimnada/yjkimnada.github.io

运行“bundle exec jekyll serve”时没有任何错误,除了:

不推荐继承 Faraday::Error::ClientError;请改用 Faraday::ClientError。它将在 1.0 版或之后删除 Faraday::Error::ClientError.inherited 从 /usr/local/lib/ruby/gems/2.6.0/gems/octokit-4.14.0/lib/octokit/middleware/follow_redirects.rb:14 调用。

编辑:我确实在“http://127.0.0.1:4000”看到了变化,即使它们并不是我想要的变化。它们似乎只是反映了我在 index.html 文件而不是 _config.yml 文件中写的任何内容。

【问题讨论】:

    标签: github jekyll github-pages


    【解决方案1】:

    将以下内容添加到项目的 Gemfile 中

    添加 gem "jekyll-assets", "~> 2.3.2"

    这篇文章对我很有帮助。
    https://dylanbeattie.net/2019/12/12/shaving-the-jekyll-yak.html

    【讨论】:

      猜你喜欢
      • 2013-12-23
      • 2013-10-04
      • 1970-01-01
      • 2013-03-16
      • 2021-01-19
      • 2015-10-08
      • 2016-08-19
      • 1970-01-01
      相关资源
      最近更新 更多