Jekyll-Share Ruby gem
Jekyll-Share is a Ruby library for the Jekll HTML static website generator that provides the Liquid tags to print sharing links for the configured services within the layout.
- Name:Jekyll-Share
- 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
- It is built upon the "ShareWith" gem;
- renders single services or group of them;
- can be configured inline or through the _config.yml settings;
- allows to integrate custom services.
Installation
With Bundler
$ bundle add jekyll-share-plugin --group jekyll_plugins
Configuration
- Be sure that jekyll-share-plugin gem is in the :jekyll_plugins group:
group :jekyll_plugins do ... gem 'jekyll-share-plugin' end
- in the _config file copy and paste the code below:
jekyll-share: mappings: twitter:hashtags: '@tags' email:subject: '@title' groups: default: wrappers: service_start: '<li class="list-inline-item">' service_end: '</li>' group_start: '<ul class="list-inline">' group_end: '</ul>' extend_with: - icons.font_awesome icon_size: 'medium' template: 'icon' services: - twitter - facebook - linkedin
Articles on FreeAptitude
Changelog
Version 1.0.0 (January 26, 2024)
- First public release.
Leave a Comment