Class: Alula::Focused

Inherits:
Theme
  • Object
show all
Defined in:
lib/alula/themes/focused.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.install(options) ⇒ Object



3
4
5
6
7
8
# File 'lib/alula/themes/focused.rb', line 3

def self.install(options)
  Site.instance.config.attachments.image.thumbnail = "300x300"
  Site.instance.config.attachments.image.thumbnail_mode = :square
  
  true
end

Instance Method Details

#pathObject



10
11
12
# File 'lib/alula/themes/focused.rb', line 10

def path
  File.expand_path(File.join(File.dirname(__FILE__), %w{.. .. .. themes focused}))
end

#versionObject



14
15
16
# File 'lib/alula/themes/focused.rb', line 14

def version
  Alula::Themes::VERSION::STRING
end