Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

The blog posts are not built in GitHub Pages Server #120

Closed
gapry opened this issue May 14, 2018 · 1 comment
Closed

The blog posts are not built in GitHub Pages Server #120

gapry opened this issue May 14, 2018 · 1 comment

Comments

@gapry
Copy link

gapry commented May 14, 2018

I see the empty pages as I push my blog posts to GitHub Pages Server.
So I check via bundle exec jekyll serve --safe and find the blog posts are not built

First, I run $ bundle exec jekyll serve and I see my posts as normal. The output as following.

$ bundle exec jekyll serve
Configuration file: /home/gapry/Workspaces/gapry.github.io/_config.yml
            Source: /home/gapry/Workspaces/gapry.github.io
       Destination: /home/gapry/Workspaces/gapry.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
Building site for default language: "en" to: /home/gapry/Workspaces/gapry.github.io/_site
Building site for language: "zh" to: /home/gapry/Workspaces/gapry.github.io/_site/zh
Build complete
                    done in 0.404 seconds.
 Auto-regeneration: enabled for '/home/gapry/Workspaces/gapry.github.io'
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

Second, I run $ bundle exec jekyll serve --safe and I can't see my posts. The output as following.

$ bundle exec jekyll serve --safe
Configuration file: /home/gapry/Workspaces/gapry.github.io/_config.yml
            Source: /home/gapry/Workspaces/gapry.github.io
       Destination: /home/gapry/Workspaces/gapry.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
                    done in 0.103 seconds.
 Auto-regeneration: enabled for '/home/gapry/Workspaces/gapry.github.io'
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

I check the _site folder and it doesn't exists the generating HTML files.

The plugin information as following

Using public_suffix 3.0.2
Using addressable 2.5.2
Using bundler 1.16.1
Using colorator 1.1.0
Using ffi 1.9.23
Using forwardable-extended 2.6.0
Using rb-fsevent 0.10.3
Using rb-inotify 0.9.10
Using sass-listen 4.0.0
Using sass 3.5.6
Using jekyll-sass-converter 1.5.2
Using ruby_dep 1.5.0
Using listen 3.1.5
Using jekyll-watch 1.5.1
Using kramdown 1.16.2
Using liquid 4.0.0
Using mercenary 0.3.6
Using pathutil 0.16.1
Using rouge 2.2.1
Using safe_yaml 1.0.4
Using jekyll 3.6.2
Using jekyll-multiple-languages-plugin 1.5.1
Using jekyll-paginate 1.1.0
Using multi_json 1.13.1
Using pygments.rb 1.2.1
Using redcarpet 3.4.0

The system information as following

$ uname -a
Linux Y410P 4.14.39-1-MANJARO 
$ ruby -v      
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]

My Blog Source code

I have checked the following setting. For now, I think they are correct.

I also try $ JEKYLL_ENV=production bundle exec jekyll build and push to GitHub Pages Server.

If I mkdir _posts and put posts in it, the site can normally show the content.


Any Suggestion? Thank you

@gapry
Copy link
Author

gapry commented May 15, 2018

Dear,

Sorry, I make mistake. The jekyll-multiple-languages-plugin work very well in local.

The issue is my fault and have solved with the commit.

For now, the blog posts still are not built in GitHub Pages Server and I'm not sure the issue whether related to jekyll-multiple-languages-plugin. So I closed.

Thank you for reading.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant