My blog site was shutdown for quite a while for certain reasons. However I strongly feel this is a good way for me to capture what I learned along the way and share with anyone who might feel helpful for them. Thanks to all people who provided postivie feedback. After clearup the issue and I finally decide to continue working on my blog site. First thing I do is to update my blog development enviroment which is Jekyll, installed in ubuntu 16.04 VM.
What is Jekyll?
Jekyll is a very popular tool to build/generate a static web/blog site. It is based on Ruby, which is a script programming language. Ruby library is packaged and distributed as “gem”. Jekyll is one of Ruby’s gem.
If you do a google search “ubuntu 16.04 install jekyll”, you will find a number of links, which have detailed steps, e.g.
Essentially two steps:
- sudo apt-get install ruby ruby-dev make gcc
- sudo gem install jekyll bundler
After upgrade, jekyll is running version 3.8.6.
The new version jekyll deprectes markdown “redcarpet”, so I have to change my _config.yml to below:
Image link rendering issue
With _config.yml change, Jekyll is able to rebuild my blog, but failed to render image link like below:
I look around net, couldn’t find any solution, except that I change to html format :
Since I have many existing MD files, which have image links, I ended up to wrote the below small bash script to do the work:
Main page recent posts
The main page most recent posts are not shown, which I haven’t fixed it. Now I simply change to show all posts sorted by date.