Class: Jekyll_Tagger::TagPage

Inherits:
Jekyll::Page
  • Object
show all
Defined in:
lib/jekyll_tagger/tag_page.rb

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TagPage.



3
4
5
6
7
# File 'lib/jekyll_tagger/tag_page.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_yamlObject



9
10
11
# File 'lib/jekyll_tagger/tag_page.rb', line 9

def read_yaml(*)
  # Do nothing
end