在子路径中安装 jekyll

Intsall jekyll in subpath

我有github repository。在文件夹 Blog 中放置了 jekyll,如果它是根文件夹,它就可以工作。

我想要 运行 /Blog/index.html 来自 /index.html

<a href = "Blog/index.html"> Blog </a>

_config.yml

# Site settings
title: About the Programing
email: tencet@yandex.com
baseurl: "Blog" # the subpath of your site, e.g. /blog/
url: "http://tencet.github.io/" # the base hostname & protocol for your site
github_username:  tencet
source: ./Blog
destination: ./Blog

有解决办法吗?

Config:source:'Blog' -> Github 页面生成 -> 将结果放在根目录

如果你想在根目录有一个独立的索引,可以指向 tencet.github.io/blog :

  • 创建一个 博客 存储库,
  • 将您的 jekyll 博客放入其中,然后可以在 tencet.github.io/blog.
  • 访问