class Webgen::PathHandler::Template

Path handler for handling template files in Webgen Page Format.

Public Instance Methods

create_nodes(path, blocks) click to toggle source

Create a template node for path.

   # File lib/webgen/path_handler/template.rb
15 def create_nodes(path, blocks)
16   create_node(path) do |node|
17     node.meta_info['no_output'] = true
18     set_blocks(node, blocks)
19   end
20 end