Class: EverMid

Inherits:
Middleman::Extension
  • Object
show all
Defined in:
lib/ever_mid.rb

Constant Summary collapse

ArchiveDir =
'archive'
ImagesDir =
'images'

Instance Method Summary collapse

Constructor Details

#initialize(app, options_hash = {}, &block) ⇒ EverMid

Returns a new instance of EverMid.



13
14
15
# File 'lib/ever_mid.rb', line 13

def initialize(app, options_hash={}, &block)
  super
end

Instance Method Details

#before_buildObject



17
18
19
20
21
# File 'lib/ever_mid.rb', line 17

def before_build
  rebuild_dir
  move_notes
  aggregate
end