Lego2012
6/12/2017 - 7:48 PM

social-follow.html Example

social-follow.html Example

<!-- TODO: Add follow intents where available TODO: Revisit color and hover color -->
{{ $icon_size := "32px" }}

{{ with .Site.Params.facebook }}
    <a href="{{ . }}" title="Facebook link">
        {{ partial "svg/facebook.svg" (dict "size" $icon_size) }}
    </a>
{{ end }}

{{ with .Site.Params.twitter }}
    <a href="{{ . }}" title="Twitter link">
        {{ partial "svg/twitter.svg" (dict "size" $icon_size) }}
    </a>
{{ end }}

{{ with .Site.Params.instagram }}
    <a href="{{ . }}" title="Instagram link">
        {{ partial "svg/instagram.svg" (dict "size" $icon_size) }}
    </a>
{{ end }}

{{ with .Site.Params.youtube }}
    <a href="{{ . }}" title="Youtube link">
        {{ partial "svg/youtube.svg" (dict "size" $icon_size) }}
    </a>
{{ end }}