From 9056f02b9b0e7fdfe56847c2ff10b21cdb5b493e Mon Sep 17 00:00:00 2001 From: Aniol Marti Date: Thu, 29 Apr 2021 13:04:24 +0200 Subject: Add social icons in footer --- exampleSite/config.toml | 8 ++++++++ layouts/partials/footer.html | 7 ++++++- layouts/partials/head.html | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 4b4f741..1ca459a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -20,6 +20,14 @@ googleAnalytics = "" # add your tracking id avatarSize = "90px" colorBlack = "#222222" colorRed = "#dc3545" + [[params.socialIcons]] + icon = "fab fa-twitter" + title = "Twitter" + url = "https://twitter.com/" + [[params.socialIcons]] + icon = "fas fa-envelope" + title = "E-mail" + url = "mailto:mail@example.com" [permalinks] "/" = "/:filename" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 192130b..56574b3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,11 @@