Simpleyyt / jekyll-theme-next

Elegant theme for Jekyll.
795 stars 753 forks source link

ERROR: YOUR SITE COULD NOT BE BUILT #139

Open Lim-LinYuanbo opened 4 years ago

Lim-LinYuanbo commented 4 years ago

错误反馈:

ubuntu@VM-0-2-ubuntu:~/jekyll-theme-next$ bundle exec jekyll build
Configuration file: /home/ubuntu/jekyll-theme-next/_config.yml
            Source: /home/ubuntu/jekyll-theme-next
       Destination: /home/ubuntu/jekyll-theme-next/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
   GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
   GitHub Metadata: Error processing value 'description':
  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/post.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.

我的操作: 1.将项目fork(此时如果跳过步骤 2,直接到步骤 3~5,是没有错误的) 2.登录gitee之后,将该项目导入到gitee 3.从gitee克隆到本地 4.bundle install 5.bundle exec jekyll build

请问这是什么问题?我发现这个主题还与 .git 里面的东西有什么耦合吗?