This allows user to set `follow: false` on a service to see it removed from the list of socials throughout.
Fixes #547
| | |
| | | {{ $socials := partialCached "func/socials/Get" "socials/Get" }} |
| | | {{ $socials := where (partialCached "func/socials/Get" "socials/Get") "follow" "!=" false }} |
| | | <div class="ananke-socials"> |
| | | {{ range $socials }} |
| | | <a href="{{ .url }}" target="_blank" class="{{ .name }} ananke-social-link link-transition stackoverflow link dib z-999 pt3 pt0-l {{ cond (eq $.Site.Language.LanguageDirection "rtl") "ml1" "mr1" }}" title="{{ .label }} link" rel="noopener" aria-label="follow on {{ .label }}——Opens in a new window"> |