Sha256: 0753541c805f70cf15731bc85d046a852daaf258098656dff3f00fb950e30174

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

class TestPlugin < Octopress::Ink::Plugin
  def initialize(name, type)
    @assets_path = File.expand_path(File.join(File.dirname(__FILE__)))
    @description = "Test some plugins y'all"
    super
  end

  def add_assets
    add_stylesheet 'plugin-test.css'
    add_stylesheet 'plugin-media-test.css', 'print'
    add_root_file 'robots.txt'
    super
  end
end

Octopress::Ink.register_plugin(TestPlugin, 'awesome-sauce')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.alpha.33 test/plugins/awesome-sauce/plugin.rb
octopress-ink-1.0.0.alpha.32 test/plugins/awesome-sauce/plugin.rb