hugo-theme-hello-amigo/layouts/partials/socials.html

30 lines
1.4 KiB
HTML
Raw Normal View History

{{- if (eq .name "codepen") -}}
<i class="fa fa-codepen fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "facebook") -}}
<i class="fa fa-facebook fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "github") -}}
<i class="fa fa-github fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "gitlab") -}}
<i class="fa fa-gitlab fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "instagram") -}}
<i class="fa fa-instagram fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "linkedin") -}}
<i class="fa fa-linkedin fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "slack") -}}
<i class="fa fa-slack fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "twitter") -}}
<i class="fa fa-twitter fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "youtube") -}}
<i class="fa fa-youtube fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "gitea") -}}
<i class="fa fa-gitea fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "email") -}}
<i class="fa fa-envelope fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "mastodon") -}}
<i class="fa fa-mastodon fa-fw fa-2x" aria-hidden="true"></i>
{{- else if (eq .name "telegram") -}}
<i class="fa fa-telegram fa-fw fa-2x" aria-hidden="true"></i>
{{- else -}}
<i class="fa fa-link fa-fw fa-2x" aria-hidden="true"></i>
{{- end -}}