templates = app.templates templates.sidebarDoc = (doc, options = {}) -> link = """""" link += """""" unless options.disabled link += """#{doc.version}""" if doc.version link + "#{doc.name}" templates.sidebarType = (type) -> """#{type.count}#{type.name}""" templates.sidebarEntry = (entry) -> """#{$.escape entry.name}""" templates.sidebarResult = (entry) -> """#{$.escape entry.name}""" templates.sidebarPageLink = (count) -> """Show more\u2026 (#{count})""" templates.sidebarLabel = (doc, options = {}) -> label = """" templates.sidebarDisabledList = (options) -> """