Class: Jekyll::FDroidBrowsingPage

Inherits:
ReadYamlPage show all
Defined in:
lib/jekyll/FDroidBrowsingPage.rb

Instance Method Summary collapse

Methods inherited from ReadYamlPage

#read_yaml

Constructor Details

#initialize(site, base) ⇒ FDroidBrowsingPage

Returns a new instance of FDroidBrowsingPage.



20
21
22
23
24
25
26
27
28
# File 'lib/jekyll/FDroidBrowsingPage.rb', line 20

def initialize(site, base)
  @site = site
  @base = base
  @dir = "packages"
  @name = "index.html"

  self.process(@name)
  self.read_yaml((File.expand_path "../../_pages", File.dirname(__FILE__)), 'browse.html')
end