module Webgen::Tag::Relocatable
Makes a path relative.
For example, you normally include a stylesheet in a template. If you specify the path name of the stylesheet directly, the reference to the stylesheet in the output file of a page file that is not in the same directory as the template would be invalid.
By using the relocatable tag you ensure that the path stays valid.
Public Class Methods
call(tag, body, context)
Return the relativized path for the path provided in the tag definition.
resolve_path(path, context)
Resolve the path using the reference node and return the correct relative path from the destination node.