planblog/layouts/partials/social.html

71 lines
2.0 KiB
HTML
Raw Permalink Normal View History

2017-03-30 01:47:46 +00:00
<div class="sns-social hidden-print">
{{ with .Site.Params.about }}
<a href="{{ . }}" target="_self" title="About me">
<i class="fa fa-user"></i>
</a>
{{ end }}
{{ with .Site.Params.email }}
<a href="mailto:{{ . }}" target="_self" title="E-mail me">
<i class="fa fa-envelope"></i>
</a>
{{ end }}
{{ with .Site.Params.github }}
<a href="https://github.com/{{ . }}" target="_blank" title="Github">
<i class="fa fa-github"></i>
</a>
{{ end }}
{{ with .Site.Params.youtube }}
<a href="https://youtube.com/{{ . }}" target="_blank" title="Youtube">
<i class="fa fa-youtube"></i>
</a>
{{ end }}
{{ with .Site.Params.twitter }}
<a href="https://twitter.com/{{ . }}" target="_blank" title="Twitter">
<i class="fa fa-twitter"></i>
</a>
{{ end }}
{{ with .Site.Params.steam }}
<a href="https://steamcommunity.com/id/{{ . }}" target="_blank" title="Steam">
<i class="fa fa-steam"></i>
</a>
{{ end }}
{{ with .Site.Params.instagram }}
<a href="https://instagram.com/{{ . }}" target="_blank">
<i class="fa fa-instagram"></i>
</a>
{{ end }}
{{ with .Site.Params.googleplus }}
<a href="https://plus.google.com/+{{ . }}" target="_blank">
<i class="fa fa-google"></i>
</a>
{{ end }}
{{ with .Site.Params.facebook }}
<a href="https://facebook.com/{{ . }}" target="_blank">
<i class="fa fa-facebook"></i>
</a>
{{ end }}
{{ with .Site.Params.stackoverflow }}
<a href="https://stackoverflow.com/users/{{ . }}" target="_blank">
<i class="fa fa-stack-overflow"></i>
</a>
{{ end }}
{{ with .Site.Params.linkedin }}
<a href="https://linkedin.com/in/{{ . }}" target="_blank">
<i class="fa fa-linkedin"></i>
</a>
{{ end }}
{{ with .Site.Params.keybase }}
<a href="https://keybase.io/{{ . }}" target="_blank">
<i class="fa fa-key"></i>
</a>
{{ end }}
{{ with .Site.Params.trakt }}
<a href="https://trakt.tv/users/{{ . }}" target="_blank">
<i class="fa fa-film"></i>
</a>
{{ end }}
<a href="/index.xml" title="Subscribe">
<i class="fa fa-rss"></i>
</a>
2017-03-30 01:47:46 +00:00
</div>