Sha256: 28f4b83a2ecbf60472536387c76c271859f5b390d6a5665f3635828453185092

Contents?: true

Size: 602 Bytes

Versions: 11

Compression:

Stored size: 602 Bytes

Contents

# encoding: utf-8
module Middleman
  module Presentation
    # Helpers plugin
    module Helpers
      # Image Gallery plugin
      class ImageGalleryPlugin < Plugin
        extend PluginApi

        add_assets(
          path: File.expand_path('../../../../vendor/assets', __FILE__),
          importable_files: %w(image_gallery.scss)
        )

        add_component(
          name: :lightbox2,
          github: 'dg-vrnetze/revealjs-lightbox2',
          importable_files: %w(js/lightbox.js)
        )

        add_helpers Middleman::Presentation::Helpers::ImageGallery
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
middleman-presentation-helpers-0.17.7 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.17.6 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.17.2 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.17.1 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.17.0 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.16.3 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.16.2 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.16.0 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.16.0.rc2 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.1.0.rc1 lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.1.0.beta lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb