From 6585f002a9a759183a1c2b6f298861a83dd9627c Mon Sep 17 00:00:00 2001 From: Akumetsu Date: Mon, 5 Sep 2022 00:19:59 -0400 Subject: [PATCH] Added functionality for use of any fontawesome icon and custom socials (#640) --- layouts/partials/footer.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 699c4a5..df966c5 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -115,6 +115,20 @@
  • {{ $value }}
  • + {{ else if reflect.IsMap $value }} +
  • + {{ if (and (isset $value "url") (isset $value "icon"))}} + + {{ $value.text }} + + {{ else if isset $value "icon" }} + {{ $value.text }} + {{ else }} + + {{ title $key }}: {{ $value.text }} + + {{ end }} +
  • {{ else }}
  • {{ title $key }}: {{ $value }}
  • {{ end }}