From b29bceddc0976af17b8b1f36ada23b2e9d473f83 Mon Sep 17 00:00:00 2001 From: Aidan Stein Date: Sun, 27 Jun 2021 17:49:19 -0400 Subject: [PATCH] allow non-standard urls (for telegram, etc) in social links --- layouts/partials/social.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 8d67c84..044bd75 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -3,8 +3,9 @@ {{ range $.Site.Params.Social }} {{ if and (isset $.Site.Data.social.social_icons .id) (isset . "name") }} {{ $url := index $.Site.Data.social.social_icons .id }} + {{ $ref := printf $url .name }}
  • - + {{ partial "fontawesome.html" (dict "iconName" .id "custom" false) }}