Commit graph

5 commits

Author SHA1 Message Date
Etienne Membrives
114565af27
Fix social icons with new version of FontAwesome ()
FontAwesome changed the way brand icons should be invoked. This commit
updates the social section to use the new, updated way.
2020-05-12 20:28:23 -04:00
Sascha Mann
7584ca2c4f
Add HTML attributes to social links
* Insert arbitrary HTML attributes to social links via config.toml

(fixes )
2019-01-13 22:52:57 +01:00
Alison Presmanes Hill
2c5cfbc4b3 Add fa icon packs ()
This PR adds functionality for users to specify which `icon_pack` to use (`fas` or `fab`; see: https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4) in the `config.toml` file, so that users can use the solid icons as well as the brand icons.

```
    [[params.social]]
        url   = "https://twitter.com/"
        icon  = "twitter" # icon name without the 'fa-'
        icon_pack = "fab"
    [[params.social]]
        url   = "https://facebook.com/"
        icon  = "facebook-f" # icon name without the 'fa-'
        icon_pack = "fab"
    [[params.social]]
        url   = "https://linkedin.com/"
        icon  = "linkedin-in" # icon name without the 'fa-'
        icon_pack = "fab"
    [[params.social]]
        url = "mailto:youremail@email.com"  # For a direct email link, use "mailto:test@example.org".
        icon = "paper-plane" # icon name without the 'fa-'
        icon_pack = "fas"
```
2018-12-14 09:32:50 +01:00
Hanzei
0c4bc76495
Bump fontawsome to version 5.1 2018-07-12 12:15:25 +02:00
Hanzei
daca1fe109
Use baseof temple to dry code 2018-07-01 10:09:29 +02:00
Renamed from layouts/partials/social.html (Browse further)