Class: Howl::Page
Instance Attribute Summary
Attributes inherited from Template
#content, #extension, #path, #relative_path, #site, #view, #view_yaml
Instance Method Summary collapse
Methods inherited from Template
#==, can_view, #converter, #initialize, #output_filename, #render, viewables
Constructor Details
This class inherits a constructor from Howl::Template
Instance Method Details
#output_path ⇒ Object
3 4 5 |
# File 'lib/howl/page.rb', line 3 def output_path site.output_path(path.relative_path_from(site.pages_path).dirname + output_filename) end |