2018-05-24 20:52:05 +00:00
|
|
|
{{ if .Site.Params.social }}
|
|
|
|
<div class="footer__social social">
|
2018-05-28 08:38:52 +00:00
|
|
|
{{- with .Param "social.email" }}
|
|
|
|
<a class="social__link" href="mailto:{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/email.svg" (dict "class" "social__icon" ) }}
|
2018-05-28 08:38:52 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
2018-05-24 20:52:05 +00:00
|
|
|
{{- with .Param "social.facebook" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/facebook.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.twitter" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://twitter.com/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/twitter.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.telegram" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://t.me/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/telegram.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.googleplus" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://plus.google.com/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/googleplus.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.instagram" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.instagram.com/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/instagram.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.pinterest" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.pinterest.com/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/pinterest.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.vk" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://vk.com/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/vk.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.linkedin" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://linkedin.com/in/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/linkedin.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.github" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://github.com/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/github.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.gitlab" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://gitlab.com/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/gitlab.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.stackoverflow" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://stackoverflow.com/users/{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/stackoverflow.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Param "social.mastodon" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://mastodon.social/@{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/mastodon.svg" (dict "class" "social__icon" ) }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
2018-05-28 06:33:36 +00:00
|
|
|
{{- with .Param "social.medium" }}
|
|
|
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://medium.com/@{{ . }}">
|
2018-06-11 08:28:00 +00:00
|
|
|
{{ partial "svg/medium.svg" (dict "class" "social__icon" ) }}
|
2018-05-28 06:33:36 +00:00
|
|
|
</a>
|
|
|
|
{{- end }}
|
2018-05-24 20:52:05 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|