planblog/layouts/partials/link.html
2015-03-31 00:52:01 -07:00

28 lines
768 B
HTML

<div class="sns-links hidden-print">
{{ with .Site.Params.twitter }}
<a href="https://twitter.com/{{ . }}" target="_blank">
<i class="fa fa-twitter"></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.github }}
<a href="https://github.com/{{ . }}" target="_blank">
<i class="fa fa-github"></i>
</a>
{{ end }}
{{ with .Site.Params.stackoverflow }}
<a href="{{ . }}" target="_blank">
<i class="fa fa-stack-overflow"></i>
</a>
{{ end }}
{{ with .Site.Params.linkedin }}
<a href="https://jp.linkedin.com/in/{{ . }}" target="_blank">
<i class="fa fa-linkedin"></i>
</a>
{{ end }}
</div>