Skip to content

Commit 2767756

Browse files
committed
use breadcrumb for home string
1 parent e7f5f25 commit 2767756

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/.vuepress/theme/components/Breadcrumbs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default {
3232
if (page != null) {
3333
crumbs.push({
3434
path: page.path,
35-
title: i == 0 ? 'Home' : page.frontmatter.breadcrumb || page.title
35+
title: page.frontmatter.breadcrumb || page.title
3636
})
3737
}
3838
}

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Filecoin Documentation
33
description: The homepage for Filecoin documentation.
44
homepage: true
5+
breadcrumb: Home
56
---
67

78
# Filecoin Documentation

0 commit comments

Comments
 (0)