Sha256: 6fd04921223f6ae972ecbb968cb0c998a9b149d83f1c3f5b2754a9ea68981f13

Contents?: true

Size: 703 Bytes

Versions: 2

Compression:

Stored size: 703 Bytes

Contents

# encoding: utf-8
require 'middleman-presentation/helpers/image_gallery'

module Middleman
  module Presentation
    # Helpers plugin
    module Helpers
      module ImageGalleryPlugin
        extend PluginApi

        add_assets(
          File.expand_path('../../../../vendor/assets/image_gallery', __FILE__)
        )

        add_component(
          name: 'jquery',
          version: '~1.11',
          javascripts: %w(dist/jquery.js)
        )

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-presentation-helpers-0.0.6 lib/middleman-presentation/helpers/plugins/image_gallery_plugin.rb
middleman-presentation-helpers-0.0.5 lib/middleman-presentation/helpers/plugins/image_gallery_plugin.rb