【发布时间】:2019-07-25 04:20:47
【问题描述】:
我对 github 页面和 jekyll 非常陌生,但我正在尝试使用它们启动我自己的个人网站,每次我尝试执行“$ bundle exec jekyll serve”时,它都会显示“配置文件:无”尽管本地目录中有一个 _config.yml 文件。除此之外,我还遇到了其他几个错误,使我无法查看我的工作(发布在下面)。有什么建议/解决方案吗? myWebsite 是父文件夹,jekyllRepo 是 _config.yml 文件和其他几个文件所在的 jekyll 存储库。
$ bundle exec jekyll serve
Configuration file: none
Source: C:/Users/Owner/myWebsite
Destination: C:/Users/Owner/myWebsite/_site
Incremental build: disabled. Enable with --incremental
Generating...
Build Warning: Layout 'post' requested in jekyllRepo/_posts/2019-03-03-welcome-to-jekyll.markdown does not exist.
GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
GitHub Metadata: Error processing value 'title':
Liquid Exception: No repo name found. Specify using PAGES_REPO_NWO environment variables, 'repository' in your configuration, or set up an 'origin' git remote pointing to your github.com repository. in /_layouts/default.html
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
No repo name found. Specify using PAGES_REPO_NWO environment variables, 'repository' in your configuration, or set up an 'origin' git remote pointing to your github.com repository.
【问题讨论】:
标签: github command-line jekyll github-pages git-bash