Sha256: cd9109b4a338613a404390306c305d3d1a286243a13936f51da868e80ac1a30b
Contents?: true
Size: 929 Bytes
Versions: 16
Compression:
Stored size: 929 Bytes
Contents
require 'awestruct/handlers/base_handler' module Awestruct module Handlers class PageDelegatingHandler < BaseHandler attr_accessor :page def initialize(site, page) super( site ) @page = page end def path page.source_path end def inherit_front_matter(outer_page) #page.prepare! #page.handler.inherit_front_matter( outer_page ) end def output_path page.output_path end def relative_source_path page.relative_source_path end def output_extension page.output_extension end def stale? page.stale? end def input_mtime(ignored) page.input_mtime end def raw_content page.raw_content end def rendered_content(context_ignored, with_layouts_ignored=true) page.content( true ) end end end end
Version data entries
16 entries across 16 versions & 2 rubygems