diff --git a/layouts/partials/social/follow.html b/layouts/partials/social/follow.html index b9227b488..c4c3037cf 100644 --- a/layouts/partials/social/follow.html +++ b/layouts/partials/social/follow.html @@ -14,7 +14,12 @@ {{- $network := $setup.slug -}} {{- $profile := index $config $network -}} {{- $rel := $setup.rel | default "noopener" -}} + {{- $link := (printf $setup.profile $profile.username) -}} + {{- with $profile.profilelink -}} + {{- $link = $profile.profilelink -}} + {{- end -}} + {{- $languageDirection := cond (eq $.Site.Language.LanguageDirection "rtl") "ml1" "mr1" -}}