Class: HJ7::Archive::ArchivePage
- Inherits:
-
Jekyll::Page
- Object
- Jekyll::Page
- HJ7::Archive::ArchivePage
- Defined in:
- lib/hj7/archive.rb
Instance Method Summary collapse
-
#initialize(site, base, dir, name, data = {}) ⇒ ArchivePage
constructor
A new instance of ArchivePage.
- #read_yaml(_, __) ⇒ Object
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 |