1

remote_theme:我正在使用 linux/firefox,我遇到了一个问题,即在 GitLab 页面存储库中.config.yml保存的 Jekyll 项目中使用时,jekyll 主题不起作用。如果我在本地克隆主题just-the-docshttps://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,my.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

非常感谢任何帮助。

4

1 回答 1

1

GitLab 不支持 Jekyll 的远程主题。

于 2021-08-31T23:52:33.843 回答