aboutsummaryrefslogtreecommitdiffstats
path: root/docs/config/templates
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-03-07 19:57:39 +0000
committerIgor Minar2014-03-11 10:39:47 -0700
commitebe280eedea416c84c2300c9b952bb42d73cdb53 (patch)
tree172256dea1e52e7383228059af45a430fd072bd5 /docs/config/templates
parent95d6cdc7c71454cebcab59858f0c3daa69fc9347 (diff)
downloadangular.js-ebe280eedea416c84c2300c9b952bb42d73cdb53.tar.bz2
docs(404 errors): provide a better 404 experience
It is a bit rough and ready but does a better job than nothing.
Diffstat (limited to 'docs/config/templates')
-rw-r--r--docs/config/templates/indexPage.template.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/config/templates/indexPage.template.html b/docs/config/templates/indexPage.template.html
index 0dfe6cc0..b5ec7122 100644
--- a/docs/config/templates/indexPage.template.html
+++ b/docs/config/templates/indexPage.template.html
@@ -219,7 +219,7 @@
</div>
<div class="grid-right">
<div id="loading" ng-show="loading">Loading...</div>
- <div ng-hide="loading" ng-include="currentPage.outputPath" onload="afterPartialLoaded()" autoscroll></div>
+ <div ng-hide="loading" ng-include="currentPage.outputPath || 'Error404.html'" onload="afterPartialLoaded()" autoscroll></div>
</div>
</div>
</section>