use iconOrder when editing/stating desired icon order

I needed to set `iconOrder` when I wanted to edit the order of social icons. I think this example is clearer.
This commit is contained in:
ewen 2020-07-19 15:00:38 +01:00 committed by GitHub
parent eef7584e41
commit 14d29775e8
1 changed files with 2 additions and 2 deletions

View File

@ -73,10 +73,10 @@ Social Icons are optional. To show any of these icons, just provide the value in
github = "https://github.com/jakewies/hugo-theme-codex"
# ...
iconTitles = ["Twitter", "GitHub"]
iconOrder = ["Twitter", "GitHub"]
```
If any of these options are given, `hugo-theme-codex` will render the social icon in the footer, using the order specified in `iconTitles`.
If any of these options are given, `hugo-theme-codex` will render the social icon in the footer, using the order specified in `iconOrder`.
See the contents of the [example site](https://github.com/jakewies/hugo-theme-codex/tree/master/exampleSite) for more details.