Skip to content

Commit c423ef6

Browse files
committed
Add search to navbar
1 parent ce25856 commit c423ef6

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Hugo
22
public/
3+
_vendor/
34
resources/_gen/
45
hugo_stats.json
56
.hugo_build.lock

hugo.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@ menu:
2525
weight: 2
2626
params:
2727
icon: github
28-
- name: Theme
28+
- name: Search
2929
weight: 3
30+
params:
31+
type: search
32+
- name: Theme
33+
weight: 4
3034
params:
3135
type: theme-toggle
3236

3337
params:
38+
search:
39+
enable: true
3440
description: Dependency tools for git
3541
navbar:
3642
displayTitle: true

0 commit comments

Comments
 (0)