Class: Jekyll::TagPage
- Inherits:
-
Page
- Object
- Page
- Jekyll::TagPage
- Defined in:
- lib/jekyll/tagging.rb
Instance Method Summary collapse
-
#initialize(site, base, dir, name, data = {}) ⇒ TagPage
constructor
A new instance of TagPage.
- #read_yaml ⇒ Object
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_yaml ⇒ Object
112 113 114 |
# File 'lib/jekyll/tagging.rb', line 112 def read_yaml(*) # Do nothing end |