class Jekyll::AttendeasePlugin::HomePage
Public Class Methods
new(site, base, dir)
click to toggle source
# File lib/jekyll/attendease_plugin/home_page.rb, line 4 def initialize(site, base, dir) @site = site @base = base @dir = dir @name = 'index.html' self.process(@name) self.read_yaml(File.join(base, '_attendease', 'templates'), 'index.html') self.data['title'] = site.config['homepage_title'] || 'Welcome' end