Sha256: e346834663eb4ffa19a8d771aacfabae9ab97284b677e4c72f225c10e5c25e4e

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 Bytes

Contents

require 'octopress-ink'

class TestTheme < Octopress::Ink::Plugin
  def initialize(name, type)
    @assets_path = File.expand_path(File.join(File.dirname(__FILE__)))
    @description = "Test theme y'all"
    super
  end
  def add_assets
    add_stylesheets ['theme-test.css', 'theme-test2.css']
    add_stylesheet 'theme-media-test@print.css'
    add_sass 'main.scss'
    add_root_files ['favicon.ico', 'favicon.png']
  end
end

Octopress::Ink.register_plugin(TestTheme, 'classic', 'theme')

Version data entries

2 entries across 2 versions & 1 rubygems

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