Class: Jekyll::AttendeasePlugin::HomePage
- Inherits:
-
Page
- Object
- Page
- Jekyll::AttendeasePlugin::HomePage
- Defined in:
- lib/jekyll/attendease_plugin/home_page.rb
Instance Method Summary collapse
-
#initialize(site, base, dir) ⇒ HomePage
constructor
A new instance of HomePage.
Constructor Details
#initialize(site, base, dir) ⇒ HomePage
Returns a new instance of HomePage.
4 5 6 7 8 9 10 11 12 13 14 15 |
# 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 |