app.templates.path = (doc, type, entry) -> html = """#{doc.fullName}""" html += """#{type.name}""" if type html += """#{$.escape entry.name}""" if entry html