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, line 15
def create_nodes(path, blocks)
  create_node(path) do |node|
    node.meta_info['no_output'] = true
    set_blocks(node, blocks)
  end
end