Class: Jekyll::GroupSubPageTags
- Inherits:
-
Page
- Object
- Page
- Jekyll::GroupSubPageTags
- Defined in:
- lib/jekyll-tagsgenerator.rb
Instance Method Summary collapse
-
#initialize(site, base, dir, type, val) ⇒ GroupSubPageTags
constructor
A new instance of GroupSubPageTags.
Constructor Details
#initialize(site, base, dir, type, val) ⇒ GroupSubPageTags
Returns a new instance of GroupSubPageTags.
35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/jekyll-tagsgenerator.rb', line 35 def initialize(site, base, dir, type, val) @site = site @base = base @dir = dir @name = 'index.html' self.process(@name) self.read_yaml(File.join(base, '_layouts'), "tag.html") self.data["grouptype"] = type self.data[type] = val end |