feat: add optional icon menu to site header (#184)
This commit is contained in:
parent
afe2abc746
commit
57bbc46a47
8 changed files with 149 additions and 8 deletions
|
@ -90,3 +90,18 @@ more:
|
|||
```
|
||||
|
||||
[](/media/more-menu.png)
|
||||
|
||||
## Extra Header Menu
|
||||
|
||||
If you want to customize the header menu, this can be achieved by using a data file written in YAML and placed at `data/menu/extra.yml`.
|
||||
|
||||
**Example:**
|
||||
|
||||
```Yaml
|
||||
---
|
||||
header:
|
||||
- name: GitHub
|
||||
ref: https://github.com/thegeeklab/hugo-geekdoc
|
||||
icon: gdoc_github
|
||||
external: true
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue