class Troy::Page

def output_file

def output_file
  base = File.dirname(path)
             .gsub(site.root.join("source").to_s, "")
             .gsub(%r{^/}, "")
  site.root.join("public", base, filename)
end