205da237b2
Google is closing Google Plus for consumers in August 2019. RIP Google+
69 lines
No EOL
2.9 KiB
HTML
69 lines
No EOL
2.9 KiB
HTML
{{ if .Site.Params.social }}
|
|
<div class="footer__social social">
|
|
{{- with .Param "social.email" }}
|
|
<a class="social__link" href="mailto:{{ . }}">
|
|
{{ partial "svg/email.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.facebook" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/{{ . }}">
|
|
{{ partial "svg/facebook.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.twitter" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://twitter.com/{{ . }}">
|
|
{{ partial "svg/twitter.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.telegram" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://t.me/{{ . }}">
|
|
{{ partial "svg/telegram.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.instagram" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.instagram.com/{{ . }}">
|
|
{{ partial "svg/instagram.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.pinterest" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.pinterest.com/{{ . }}">
|
|
{{ partial "svg/pinterest.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.vk" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://vk.com/{{ . }}">
|
|
{{ partial "svg/vk.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.linkedin" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://linkedin.com/in/{{ . }}">
|
|
{{ partial "svg/linkedin.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.github" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://github.com/{{ . }}">
|
|
{{ partial "svg/github.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.gitlab" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://gitlab.com/{{ . }}">
|
|
{{ partial "svg/gitlab.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.stackoverflow" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://stackoverflow.com/users/{{ . }}">
|
|
{{ partial "svg/stackoverflow.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.mastodon" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://mastodon.social/@{{ . }}">
|
|
{{ partial "svg/mastodon.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
{{- with .Param "social.medium" }}
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://medium.com/@{{ . }}">
|
|
{{ partial "svg/medium.svg" (dict "class" "social__icon" ) }}
|
|
</a>
|
|
{{- end }}
|
|
</div>
|
|
{{ end }} |