Skip to content

Commit

Permalink
Fixes a collection of 404s (google#4055)
Browse files Browse the repository at this point in the history
  • Loading branch information
petele authored Jan 17, 2017
1 parent 494af45 commit 9698921
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devsitePage.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def getPage(requestPath, lang):
'announcementBanner': devsiteHelper.getAnnouncementBanner(lang),
'gitHubIssueUrl': gitHubIssueUrl,
'gitHubEditUrl': gitHubEditUrl,
'requestPath': requestPath.replace('index', ''),
'requestPath': requestPath.replace('/index', ''),
'leftNav': leftNav,
'content': content,
'toc': toc,
Expand Down
3 changes: 3 additions & 0 deletions src/content/en/tools/_redirects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ redirects:
- from: /web/tools/lighthouse/audits/blocking-links
to: /web/tools/lighthouse/audits/blocking-resources

- from: /web/tools/lighthouse/audits/app-cache
to: /web/tools/lighthouse/audits/appcache

- from: /web/tools/chrome-devtools/memory-problems/memory-diagnosis
to: /web/tools/chrome-devtools/memory-problems/

Expand Down
2 changes: 1 addition & 1 deletion src/content/en/tools/lighthouse/_toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ toc:
- title: Page Does Not Automatically Request Notfication Permissions On Page Load
path: /web/tools/lighthouse/audits/notifications-on-load
- title: Site Does Not Use Application Cache
path: /web/tools/lighthouse/audits/app-cache
path: /web/tools/lighthouse/audits/appcache
- title: Site Does Not Use console.time()
path: /web/tools/lighthouse/audits/console-time
- title: Site Does Not Use Resources That Delay First Paint
Expand Down

0 comments on commit 9698921

Please sign in to comment.