class Jekyll::TagPage
Public Class Methods
new(site, base, dir, tag)
click to toggle source
# File _plugins/tag_generator.rb, line 3 def initialize(site, base, dir, tag) @site = site @base = base @dir = dir @name = 'index.html' self.process(@name) self.read_yaml(File.join(base, '_layouts'), 'tag.html') self.data['tag'] = tag self.data['title'] = "Posts tagged with “#{tag}”" end