Img Tag is a Liquid minimalist plugin for Jekyll to create centered images with a caption.
- Go to _plugins directory,
- Run
git clone https://github.com/emugel/jekyll-img.git jekyll-img
, - Add a line
imgurl: "/img"
to your_config.yml
, where /img is the path of your assets.
{% img mypic.jpg This is my new typewriter %}
.