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.
107 108 109 110 111 112 |
# File 'lib/jekyll/tagging.rb', line 107 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
114 115 116 |
# File 'lib/jekyll/tagging.rb', line 114 def read_yaml(*) # Do nothing end |