Changes for Jekyll 3.x
JuanjoSalvador opened this issue ยท 8 comments
Jekyll 3.x has some changes with Jekyll 2.x. This is a list of some:
- Jekyll 3.x does not support anymore permalinks. We must remove it.
- Jekyll 3.x does not support anymore Pygments as highlighter. Instead of pygments, we must use Rouge.
- Jekyll 3.x does not support anymore redcarpet. Instead of redcarpet, we must use kramdown as markdown engine.
I've stuck in a pull request (#148) for this. Just need a couple of quick amendments to `_config.yaml'
Shortly after publishing this issue, I sent a pull request with changes in _config.yml
#145
Maybe this is obvious to others, I have not used ruby or jekyll before. I had to gem install jekyll-paginate
and then add gems: [jekyll-paginate]
to _config.yml.
Also after completing the steps from #145 and the above I'm still receiving the following error:
Liquid Exception: Liquid syntax error (line 49): Unknown tag 'gist' in my-path/_posts/2012-02-07-example-content.md
So I had to gem install jekyll-gist
and then update the gist enty in _config.yml to gems: [jekyll-paginate,jekyll-gist]
So you have to install jekyll-paginate
, and jekyll-gist
to make it run in your server, is it? This is not a change for Jekyll 3.x, but it can be an issue. Open a new one with all the info.
Hey, just a quick note, using @JuanjoSalvador comment I updated my _config.yml
# Gems
gems:
- jekyll-paginate
- jekyll-gist
- redcarpet
markdown: kramdown
highlighter: rouge
# Permalinks
permalink: pretty
# relative_permalinks: true
and it finally works!
It's December and they still haven't updated it yet?
PS: Mac users, if you're getting
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/posix-spawn-benchmark
while installing rouge or kramdown, use gem install rouge --user-install
Maybe @mdo is busy.
I just find out all you say here for myself, using Jekyll v.4.0.0 on Linux Mint 19 (so much time saved if I had read this post before). The only change I've had to do in _config.yml:
# Gems
plugins: [jekyll-paginate, jekyll-gist]