Sha256: 59686d9bcf7a163679122ae1e60738da773fa85ce7bd5c10d9094c190a9f9dad

Contents?: true

Size: 467 Bytes

Versions: 16

Compression:

Stored size: 467 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::STRING
    end
  end
end

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alula-themes-0.4.27 lib/alula/themes/focused.rb
alula-themes-0.4.26 lib/alula/themes/focused.rb
alula-themes-0.4.25 lib/alula/themes/focused.rb
alula-themes-0.4.24 lib/alula/themes/focused.rb
alula-themes-0.4.23 lib/alula/themes/focused.rb
alula-themes-0.4.22 lib/alula/themes/focused.rb
alula-themes-0.4.21 lib/alula/themes/focused.rb
alula-themes-0.4.20 lib/alula/themes/focused.rb
alula-themes-0.4.19 lib/alula/themes/focused.rb
alula-themes-0.4.18 lib/alula/themes/focused.rb
alula-themes-0.4.17 lib/alula/themes/focused.rb
alula-themes-0.4.16 lib/alula/themes/focused.rb
alula-themes-0.4.15 lib/alula/themes/focused.rb
alula-themes-0.4.14 lib/alula/themes/focused.rb
alula-themes-0.4.13 lib/alula/themes/focused.rb
alula-themes-0.4.12 lib/alula/themes/focused.rb