class Jekyll::AtomPageAuthor

Public Class Methods

new(site, base, dir, type, val, posts) click to toggle source
# File lib/jekyll-author-page.rb, line 63
def initialize(site, base, dir, type, val, posts)
  @site = site
  @base = base
  @dir = dir
  @name = 'feed.xml'

  self.process(@name)
  self.read_yaml(File.join(base, '_layouts'), "feed.xml")
  self.data[type] = val
  self.data["grouptype"] = type
  self.data["posts"] = posts[0..9]
end