Sha256: 83c5c4bdabcb45382fb59a48920c00c5fc33f9b315bdd3f8bb1ba828a4454942

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

Stored size: 623 Bytes

Contents

# frozen_string_literal: true

require 'jekyll/hooks'
require 'bootstrap4jekyll/version'
require 'bootstrap4jekyll/plugin'

#
# Adds the
# [Twitter Bootstrap](https://getbootstrap.com/)
# framework to your __Jekyll__ site.
module Bootstrap4jekyll
  bootstrap_plugin = Plugin.new

  #
  # Register a jekyll-hook that calls our plugin just after the site initializes,
  # but before setup and render.
  #
  # site gives access to the site-wide information
  # and configuration settings (mainly from _config.yml).
  Jekyll::Hooks.register :site, :after_init do |site|
    bootstrap_plugin.complete_load_paths(site)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap4jekyll-0.0.0 lib/bootstrap4jekyll.rb