From c375d78f3e98b4a4dfd388290ca0ca1e3b9ec66f Mon Sep 17 00:00:00 2001 From: Akumetsu Date: Sun, 4 Sep 2022 23:48:18 -0400 Subject: [PATCH] Added functionality for use of any fontawesome icon and custom socials --- 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 }}