feat: add optional icon menu to site header (#184)

This commit is contained in:
Robert Kaussow 2021-08-12 18:17:49 +02:00 committed by GitHub
parent afe2abc746
commit 57bbc46a47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 149 additions and 8 deletions

View file

@ -90,3 +90,18 @@ more:
```
[![Example bundle menu](/media/more-menu.png)](/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
```