Use Font Awesome instead of Fork Awesome
This commit is contained in:
parent
b88d13e7f0
commit
d326aa747e
130 changed files with 375 additions and 6712 deletions
|
|
@ -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!
|
|||

|
||||
|
||||
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/
|
||||
|
|
|
|||
|
|
@ -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 = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue