mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
524 B
10 lines
524 B
11 years ago
|
notice = (text) -> """<p class="_notice-text">#{text}</p>"""
|
||
|
|
||
|
app.templates.singleDocNotice = (doc) ->
|
||
|
notice """ You're currently browsing the #{doc.name} documentation. To browse all docs, go to
|
||
|
<a href="http://#{app.config.production_host}" target="_top">#{app.config.production_host}</a>. """
|
||
|
|
||
|
app.templates.disabledDocNotice = ->
|
||
|
notice """ <strong>This documentation is currently disabled.</strong>
|
||
|
To enable it, click <a class="_notice-link" data-pick-docs>Select documentation</a>. """
|