RubyGems Navigation menu

jekyll-plugin-include 0.1.1

A Jekyll liquid tag plugin which allows includes directly from plugins' `_include` directories, with optional ability to override with files present in site includes_dir (if they exist). Normally, Jekyll's `include` tag can only search for files in the site's single configured includes directory (and that of the *theme* plugin, if it using one). That means that if a plugin wants to provide you with a template/fragment via includes, the best it can do is ask you to copy it into your own repo manually. This plugin then makes it easy to use includes that ship *with* a plugin directly *from* a plugin. And if a modified version of the file is provided in the site's own includes directory, it can intelligently use that one instead! And for plugin developers, this provides a way to ship and use includes without leaning on the user to manage the unmodified files themselves.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.1 - September 24, 2018 (9.5 KB)
  2. 0.1.0 - September 24, 2018 (9 KB)

Runtime Dependencies (1):

jekyll < 4.0, >= 3.8

Development Dependencies (4):

bundler ~> 1.16
rake ~> 10.0
rspec ~> 3.0
rubocop ~> 0.59.1

Owners:

Authors:

  • Decipher Media

SHA 256 checksum:

2ff50a8e0cbbf9f535cf9f08b1da8a41830d4aa3a43859368f72d41c8271878e

Total downloads 3,448

For this version 1,981

License:

MIT

Required Ruby Version: >= 0

Links: