File tree Expand file tree Collapse file tree 5 files changed +64
-26
lines changed
Expand file tree Collapse file tree 5 files changed +64
-26
lines changed Original file line number Diff line number Diff line change 11public
22resources
3- .hugo_build.lock
3+ .hugo_build.lock
4+ .DS_Store
Original file line number Diff line number Diff line change 1+ ---
2+ title : " 归档"
3+ date : 1998-06-16
4+ layout : " archives"
5+ slug : " archives"
6+ menu :
7+ main :
8+ weight : -70
9+ params :
10+ icon : archives
11+ ---
Original file line number Diff line number Diff line change 1+ ---
2+ title : 友链
3+ links :
4+ - title : GitHub
5+ description : GitHub is the world's largest software development platform.
6+ website : https://github.com
7+ image : https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
8+ - title : TypeScript
9+ description : TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
10+ website : https://www.typescriptlang.org
11+ image : ts-logo-128.jpg
12+ menu :
13+ main :
14+ weight : -50
15+ params :
16+ icon : link
17+
18+ comments : false
19+ ---
20+
21+ To use this feature, add ` links ` section to frontmatter.
22+
23+ This page's frontmatter:
24+
25+ ``` yaml
26+ links :
27+ - title : GitHub
28+ description : GitHub is the world's largest software development platform.
29+ website : https://github.com
30+ image : https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
31+ - title : TypeScript
32+ description : TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
33+ website : https://www.typescriptlang.org
34+ image : ts-logo-128.jpg
35+ ` ` `
36+
37+ ` image` field accepts both local and external images.
Original file line number Diff line number Diff line change 1+ ---
2+ title : " 搜索"
3+ slug : " search"
4+ layout : " search"
5+ outputs :
6+ - html
7+ - json
8+ menu :
9+ main :
10+ weight : -60
11+ params :
12+ icon : search
13+ ---
Original file line number Diff line number Diff line change @@ -146,35 +146,11 @@ enabled = true
146146 [[menu .main ]]
147147 name = " 主页"
148148 url = " /"
149- weight = 10
149+ weight = -90
150150 identifier = " home"
151151 [menu .main .params ]
152152 icon = " home"
153153 newTab = false
154- [[menu .main ]]
155- name = " 归档"
156- url = " /archives/"
157- weight = 20
158- identifier = " archives"
159- [menu .main .params ]
160- icon = " archives"
161- newTab = false
162- [[menu .main ]]
163- name = " 搜索"
164- url = " /search/"
165- weight = 30
166- identifier = " search"
167- [menu .main .params ]
168- icon = " search"
169- newTab = false
170- [[menu .main ]]
171- name = " 友链"
172- url = " /links/"
173- weight = 40
174- identifier = " links"
175- [menu .main .params ]
176- icon = " link"
177- newTab = false
178154
179155 [[menu .social ]]
180156 identifier = " github"
You can’t perform that action at this time.
0 commit comments