A Liquid tag for Jekyll sites that allows easy creation of wikpedia-style image galleries.
gallery_tag.rb
into <your-jekyll-site>/_plugins
.style.css
to your stylesheets.Place a gallery
tag in your content file, e.g.:
{% gallery columns="2" %}
../images/2013/10/bash-vs-zsh-cd.png "Bash vs zsh: cd command completion"
../images/2013/10/bash-vs-zsh-git.png "Bash vs zsh: Git prompt indicator"
../images/2013/10/bash-vs-zsh-spelling-correction.png "Bash vs zsh: Spelling correction"
../images/2013/10/bash-vs-zsh-time.png "Bash vs zsh: time command"
{% endgallery %}
If you don't specify columns
, it will float to the maximum number
of columns that the current screen can display.
Version 1.0, 2014-01-06: Initial commit.
This code is licensed under MIT License.
What does this mean?
caption_tag.rb
.
This might help others to find this plugin