Use Font Awesome instead of Fork Awesome

This commit is contained in:
Harm te Molder 2024-10-24 08:31:24 +02:00 committed by zjedi
parent b88d13e7f0
commit d326aa747e
130 changed files with 375 additions and 6712 deletions

View file

@ -16,6 +16,29 @@ That is the important part, right? You want to know what I can do for you. This
---
### Icons
This theme includes the full set of [Font Awesome v6.6.0 icons](https://fontawesome.com/icons). Use the `{{</* icon */>}}` [shortcode](https://gohugo.io/content-management/shortcodes/) with the respective `name` to use an icon directly in your `.md` files. For example "{{< icon name="envelope" >}}":
```html
{{</* icon name="envelope" */>}}
```
If you want to use one of Font Awesome's brand icons—the ones that have a trademark warning and the `fa-brands` class—add `brand=true`. For example "{{< icon name="github" brand=true >}}":
```html
{{</* icon name="github" brand=true */>}}
```
If you want to use these branded icons in your contact list, use the full class names in your `hugo.toml`:
```toml
[[params.contacts]]
label = "GitHub"
value = "github.com/zjedi/hugo-scroll"
url = "https://github.com/zjedi/hugo-scroll"
icon = "fa-brands fa-github"
```
### Nutrition Coaching
This is not an easy task.
@ -28,3 +51,5 @@ I can raise your table culture!
![Let us get started on a clean slate](images/woman-pouring-juice-on-glass-3184192.jpg)
Want to learn more about my services? See [dedicated page](services) with more details.
[font-awesome-icons]: https://fontawesome.com/icons
[hugo-shortcodes]: https://gohugo.io/content-management/shortcodes/

View file

@ -60,14 +60,14 @@ enableEmoji = true
# The sections of the home page alternate styling. Mark invert as true to swap the styling of the sections
invertSectionColors = false
# Options used for automatic image generation. see: https://gohugo.io/content-management/image-processing/
image_options = "webp q90 lanczos photo"
# Use "page_title | site_title" for <title> tags
# e.g. <title>Legal | Jane Doe - Nutrition Coach & Chef Consultant</title>
combine_page_and_site_title = false
[params.footer]
# Show contact icons for email/phone (if specified) in the footer of the page
showContactIcons = false
@ -90,6 +90,12 @@ enableEmoji = true
url = "mailto:mail@janedoe.com"
icon = "fa fa-envelope"
[[params.contacts]]
label = "GitHub"
value = "github.com/zjedi/hugo-scroll"
url = "https://github.com/zjedi/hugo-scroll"
icon = "fa-brands fa-github"
# Add additional contacts here!
# [[params.contacts]]
# label = ""