Jekyll::Hive

in HiveDevs4 years ago

Jekyll::Hive

Liquid tag for displaying Hive content in Jekyll sites: {% hive %}.

Installation

Add this line to your application's Gemfile:

gem 'jekyll-hive'

And then execute:

bundle

Or install it yourself as:

gem install jekyll-hive

Then add the following to your site's _config.yml:

plugins:
  - jekyll-hive

💡 If you are using a Jekyll version less than 3.5.0, use the gems key instead of plugins.

Usage

Use the tag as follows in your Jekyll pages, posts and collections:

{% hive author/permlink %}

This will place the associated content on the page.

Jekyll Build

When building your site with jekyll, you can continue to use the default command:

jekyll build

If you would like to provide an alternate node:

NODE_URL=https://anyx.io jekyll build

Contributing

  1. Fork it ( https://github.com/inertia186/jekyll-hive/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Get in touch!

If you're using Jekyll::Hive, I'd love to hear from you. Drop me a line and tell me what you think! I'm @inertia on Hive.

License

I don't believe in intellectual "property". If you do, consider Jekyll::Hive as licensed under a Creative Commons CC0 License.

Sort:  

the future is bright for hive