|
|
@@ -140,7 +140,7 @@ Social Icons are optional. To use them you will need to set at least all the fol
|
|
|
| Configuration | Type | Required | Description | Example |
|
|
|
| -------------- | ------ | -------- | ---------------------------------------- | ------------------------------- |
|
|
|
| name | string | Yes | Icon name. | `"Github"` |
|
|
|
-| icon | string | Yes | FontAwesome icon classes. | `"fa fa-github"` |
|
|
|
+| icon | string | Yes | FontAwesome icon classes. | `"fa-brands fa-github"` |
|
|
|
| weight | int | Yes | Icon order. | `1` |
|
|
|
| url | string | Yes | URL to redirect. | `"https://github.com/johndoe/"` |
|
|
|
|
|
|
@@ -149,17 +149,17 @@ An example:
|
|
|
```toml
|
|
|
[[params.social]]
|
|
|
name = "Github"
|
|
|
- icon = "fa fa-github fa-2x"
|
|
|
+ icon = "fa-brands fa-github fa-2x"
|
|
|
weight = 1
|
|
|
url = "https://github.com/johndoe/"
|
|
|
[[params.social]]
|
|
|
name = "Gitlab"
|
|
|
- icon = "fa fa-gitlab fa-2x"
|
|
|
+ icon = "fa-brands fa-gitlab fa-2x"
|
|
|
weight = 2
|
|
|
url = "https://gitlab.com/johndoe/"
|
|
|
[[params.social]]
|
|
|
name = "Twitter"
|
|
|
- icon = "fa fa-twitter fa-2x"
|
|
|
+ icon = "fa-brands fa-twitter fa-2x"
|
|
|
weight = 3
|
|
|
url = "https://twitter.com/johndoe/"
|
|
|
```
|
|
|
@@ -286,17 +286,17 @@ style = "github-dark"
|
|
|
# Social links
|
|
|
[[params.social]]
|
|
|
name = "Github"
|
|
|
- icon = "fa fa-github fa-2x"
|
|
|
+ icon = "fa-brands fa-github fa-2x"
|
|
|
weight = 1
|
|
|
url = "https://github.com/johndoe/"
|
|
|
[[params.social]]
|
|
|
name = "Gitlab"
|
|
|
- icon = "fa fa-gitlab fa-2x"
|
|
|
+ icon = "fa-brands fa-gitlab fa-2x"
|
|
|
weight = 2
|
|
|
url = "https://gitlab.com/johndoe/"
|
|
|
[[params.social]]
|
|
|
name = "Twitter"
|
|
|
- icon = "fa fa-twitter fa-2x"
|
|
|
+ icon = "fa-brands fa-twitter fa-2x"
|
|
|
weight = 3
|
|
|
url = "https://twitter.com/johndoe/"
|
|
|
|