class Troy::Page

def permalink

def permalink
  meta.fetch("permalink", File.basename(path).gsub(/\..*?$/, ""))
end