Make links protocol-relative

pull/382/head
Thibaut Courouble 9 years ago
parent 01517f8c78
commit 4b760a24d3

@ -41,11 +41,11 @@ app.templates.offlinePage = (docs) -> """
canICloseTheTab = ->
if app.AppCache.isEnabled()
""" Yes! Even offline, you can open a new tab, go to <a href="http://devdocs.io">devdocs.io</a>, and everything will work as if you were online (provided you installed all the documentations you want to use beforehand). """
""" Yes! Even offline, you can open a new tab, go to <a href="//devdocs.io">devdocs.io</a>, and everything will work as if you were online (provided you installed all the documentations you want to use beforehand). """
else if app.mozApp
""" Yes! Even offline, you can open the app and everything will work as if you were online (provided you installed all the documentations you want to use beforehand). """
else
""" No. AppCache isn't available in your browser (or is disabled) so loading <a href="http://devdocs.io">devdocs.io</a> offline won't work.<br>
""" No. AppCache isn't available in your browser (or is disabled) so loading <a href="//devdocs.io">devdocs.io</a> offline won't work.<br>
The current tab will continue to work, though (provided you installed all the documentations you want to use beforehand). """
app.templates.offlineDoc = (doc, status) ->

@ -62,7 +62,7 @@
<h1>Oops!</h1>
<p>
<strong>The page you were looking for doesn't exist.</strong><br>
Go back to <a href="http://devdocs.io">devdocs.io</a>.
Go back to <a href="//devdocs.io">devdocs.io</a>.
</p>
</div>
</body>

@ -63,7 +63,7 @@
<p>
<strong>Something is technically wrong.</strong><br>
Thanks for noticing&mdash;we're going to fix it up and have things back to normal soon.<br>
Go back to <a href="http://devdocs.io">devdocs.io</a>.
Go back to <a href="//devdocs.io">devdocs.io</a>.
</p>
</div>
</body>

Loading…
Cancel
Save