jekyll_block_tag_plugin_template
TODO After cloning this repo, run bin/run_this_first
, after which this line will automatically be deleted.
jekyll_block_tag_plugin_template
is a Jekyll plugin that provides a new Liquid tag called new_tag_name
and a new tag block called new_tag_block_name
.
The plugin is packaged as a Ruby gem.
- A
new_tag_block_name
block tag that can do magic with its eyes closed.{% new_tag_name [arguments] %} Contents of new_tag_block_name {% endnew_tag_name %}
- A
new_tag_name
tag that can turn on a dime and leave 15 cents change.{% new_tag_name Contents of new_tag_name tag%}
Additional Information
More information is available on Mike Slinn's web site about Jekyll plugins.
Installation
Add this line to your application's Gemfile:
gem 'jekyll_block_tag_plugin_template'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install jekyll_block_tag_plugin_template
Usage
TODO: Write usage instructions here
Development
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Install development dependencies like this:
$ BUNDLE_WITH="development" bundle install
To install this gem onto your local machine, run:
$ bundle exec rake install
To release a new version,
- Update the version number in
version.rb
. - Commit all changes to git; if you don't the next step might fail with an unexplainable error message.
- Run the following:
The above creates a git tag for the version, commits the created tag, and pushes the new
$ bundle exec rake release
.gem
file to RubyGems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/git_user_name/jekyll_block_tag_plugin_template.
License
The gem is available as open source under the terms of the MIT License.