Sha256: a71b925af183e8c986e5fa26d34bdef21293c83ecaf3d4f49617d2b757ad37a2

Contents?: true

Size: 523 Bytes

Versions: 3

Compression:

Stored size: 523 Bytes

Contents

begin
  require "bundler/setup"
  Bundler.require(:jekyll_plugins)
rescue LoadError
end

class ClassicTheme < Octopress::Plugin
  def initialize(name, type)
    @assets_path = File.expand_path(File.join(File.dirname(__FILE__), 'theme'))
    super
  end

  def add_assets
    add_stylesheets ['site.css','foo.css'], 'all'
    add_stylesheet 'print.css', 'print'
    add_javascripts ['foo.js', 'bar.js']
    add_sass 'bar.scss'
    add_file 'test.html'
  end
end

Octopress.register_plugin(ClassicTheme, 'classic', 'theme')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.alpha.14 test/_plugins/bundler.rb
octopress-ink-1.0.0.alpha.13 test/_plugins/bundler.rb
octopress-ink-1.0.0.alpha.12 test/_plugins/bundler.rb