Sha256: a061064539846fc06eb6a9d34592c31f454020100892e6be1371572237096fcc

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

module Alula
  class Focused < Theme
    def self.install(options)
      Site.instance.config.attachments.image.thumbnail = "300x300"
      Site.instance.config.attachments.image.thumbnail_mode = :square
      
      true
    end
    
    def path
      File.expand_path(File.join(File.dirname(__FILE__), %w{.. .. .. themes focused}))
    end
    
    def version
      Alula::Themes::VERSION
    end
  end
end

Alula::Theme.register :focused, Alula::Focused

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alula-themes-0.4.11 lib/alula/themes/focused.rb
alula-themes-0.4.11a lib/alula/themes/focused.rb
alula-themes-0.4.8 lib/alula/themes/focused.rb