Jekyll-Gallery Ruby gem

Jekyll-Gallery is a Ruby gem for the Jekll HTML static website generator that allows to render an image gallery based on the GLighbbox Javascript library.

The layout is also customizable and the listed files are checked to ensure the gallery integrity.

  • Name:
    Jekyll-Gallery
  • Language:
    Ruby
  • Type:
    Ruby library for Jekyll
  • License:
    GPL v.3
  • Platform:
    Linux, Windows
  • Requirements:
    Ruby, Jekyll
  • First release:
    1.0.0 (January 26, 2024)
  • Current release:
    1.0.0 (January 26, 2024)
  • Links:

Main Features

  • Focused on GLightbox library;
  • customizable template;
  • gallery integrity ensured by file existing check;
  • directory organization;
  • support of the jekyll-seo-tag plugin to expand the image value;
  • allows to define the galleries in the front matter.

Installation

With Bundler

$ bundle add jekyll-gallery-plugin --group jekyll_plugins

Configuration

  1. Be sure that jekyll-gallery-plugin gem is in the :jekyll_plugins group:
    group :jekyll_plugins do
      ...
      gem 'jekyll-gallery-plugin'
    end
    
    
  2. in the _config file copy and paste the code below:
    jekyll-gallery:
      assets_path: assets
      collections_dir:
        posts: posts
        ...
    
    

Articles on FreeAptitude

Changelog

Version 1.0.0 (January 26, 2024)

  • First public release.



Leave a Comment