Class: HJ7::Archive::ArchivePage

Inherits:
Jekyll::Page
  • Object
show all
Defined in:
lib/hj7/archive.rb

Instance Method Summary collapse

Constructor Details

#initialize(site, base, dir, name, data = {}) ⇒ ArchivePage

Returns a new instance of ArchivePage.



3
4
5
6
7
8
# File 'lib/hj7/archive.rb', line 3

def initialize(site, base, dir, name, data = {})
  self.content = data.delete("content") || ""
  self.data    = data

  super(site, base, dir, name)
end

Instance Method Details

#read_yaml(_, __) ⇒ Object



10
11
12
# File 'lib/hj7/archive.rb', line 10

def read_yaml(_, __)
  # Do nothing
end