mirror of https://github.com/freeCodeCamp/devdocs
parent
2ece8d13da
commit
5015405e7c
@ -1,5 +1,5 @@
|
||||
app.templates.path = (doc, type, entry) ->
|
||||
html = """<a href="#{doc.fullPath()}" class="_path-item _icon-#{doc.icon}">#{doc.name}</a>"""
|
||||
html = """<a href="#{doc.fullPath()}" class="_path-item _icon-#{doc.icon}">#{doc.fullName}</a>"""
|
||||
html += """<a href="#{type.fullPath()}" class="_path-item">#{type.name}</a>""" if type
|
||||
html += """<span class="_path-item">#{$.escape entry.name}</span>""" if entry
|
||||
html
|
||||
|
Loading…
Reference in new issue