HB 面包屑导航组件可用于指示当前页面的位置。
成为我们的资助者或赞助商,以支持我们的工作。
| Module | github.com/hbstack/breadcrumb |
|---|---|
| Repository | ⭐ Please consider giving a star if your like it. |
| Stars | |
| Version | |
| Used by | |
| Requirements | |
| License | |
| Usage | See how to use modules. |
你需要于模板特定位置导入该 partial。
1{{ partial "hb/modules/breadcrumb/index" . }}
该 partial 接收页面作为上下文。
nav_icon
参数 nav_icon 用于显示图标。
1+++
2[nav_icon]
3 name = 'book'
4 vendor = 'bs'
5+++
1---
2nav_icon:
3 name: book
4 vendor: bs
5---
1{
2 "nav_icon": {
3 "name": "book",
4 "vendor": "bs"
5 }
6}
更多图标用法请参阅图标配置。