Class: Jekyll::TagPage

Inherits:
Page
  • Object
show all
Defined in:
lib/jekyll/tagging.rb

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TagPage.



105
106
107
108
109
110
# File 'lib/jekyll/tagging.rb', line 105

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

  super(site, base, dir[-1, 1] == '/' ? dir : '/' + dir, name)
end

Instance Method Details

#read_yamlObject



112
113
114
# File 'lib/jekyll/tagging.rb', line 112

def read_yaml(*)
  # Do nothing
end