Class: Howl::Page

Inherits:
Template show all
Defined in:
lib/howl/page.rb

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_pathObject



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