lib/zine/data_page.rb in zine-0.15.0 vs lib/zine/data_page.rb in zine-0.16.0
- old
+ new
@@ -3,9 +3,10 @@
module Zine
# A page where the content comes from an array, usually an array of
# links to other pages, eg an index page like the home page
class DataPage < Zine::Page
def initialize(data, templates, site_options, suffix = '.html')
+ # super(front_matter, site_opt)
init_templates(templates)
@formatted_data = FormattedData.new({}, site_options)
@formatted_data.page[:title] = data[:title]
@formatted_data.data = data[:post_array]
@dest_path = File.join(data[:build_dir],