问题描述
我正在使用 linux/firefox,我遇到了一个问题,即在 GitLab 页面存储库中保存的 Jekyll 项目的 remote_theme:
中使用 .config.yml
时,jekyll 主题不起作用。如果我在本地克隆主题 just-the-docs
(https://pmarsceill.github.io/just-the-docs/),则在 theme:
中使用 .config.yml
时它可以正常工作。但是,当使用由同一作者 pmarsceill/jtd-remote
编写的远程主题示例并添加 remote_theme:
而不是 theme:
时,我遇到了同样的问题。主题不生效。
我以 jtd-remote
为例,它给出了同样的错误,不过,我的目标是让 just-the-docs
作为远程主题工作。
Clone 'https://github.com/pmarsceill/jtd-remote'
Add url to _config.yml.
Add index.md to top level.
Add to GitLab repo and configure pages.
browse to repo url on 4000,theme does not take effect.
使用 just-the-docs
时,我的 .config.yml
显示如下:
# Site settings
title: My site Test
description: "Testing"
baseurl: "/"
url: "https://mysite.gitlab.io"
color_scheme: "dark"
search_enabled: false
# Build settings
remote_theme: pmarsceill/just-the-docs
#remote_theme: "pmarsceill/just-the-docs@v0.3.3"
plugins:
- jekyll-Feed
- jekyll-remote-theme
- jekyll-SEO-tag
- jekyll-sitemap
- jekyll-mermaid
- jekyll-spaceship
非常感谢任何帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)