Skip to content

Commit e131187

Browse files
Merge pull request #454 from patternfly/ngdoc
ngdoc 'Page Not Found' redirects to API Doc title page
2 parents 0882bac + 432d552 commit e131187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grunt-ngdocs-index.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238

239239
<div id="loading" ng-show="loading">Loading...</div>
240240

241-
<div class="home" ng-show="breadcrumb[breadcrumb.length-1].name === 'API Documentation'">
241+
<div class="home" ng-show="(breadcrumb[breadcrumb.length-1].name === 'API Documentation') || (partialTitle.indexOf('Page Not Found') !== -1)">
242242
<h1>Welcome to Angular PatternFly!<h1>
243243
<img src="img/patternfly-orb.svg" alt="PatternFly logo" />
244244
<h3>Angular PatternFly contains custom AngularJS directives which utilize the PatternFly Refererence Implementation.<br/>PatternFly is a community of designers and developers collaborating to build a UI framework for enterprise web applications.</h3>

0 commit comments

Comments
 (0)