hugo-theme-introduction/layouts/partials/social.html

25 lines
1.3 KiB
HTML
Raw Normal View History

2017-03-13 09:14:02 +00:00
<div class="social-icons row">
<div class="col-md-4 col-md-offset-4">
{{ if .Site.Params.twitter }}
<a href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank"><i class="fa fa-twitter"></i></a>
{{ end }}
{{ if .Site.Params.linkedin }}
<a href="https://linkedin.com/in/{{ .Site.Params.linkedin }}" target="_blank"><i class="fa fa-linkedin"></i></a>
{{ end }}
{{ if .Site.Params.github }}
<a href="https://github.com/{{ .Site.Params.github }}" target="_blank"><i class="fa fa-github"></i></a>
{{ end }}
{{ if .Site.Params.codepen }}
<a href="https://codepen.io/{{ .Site.Params.codepen }}" target="_blank"><i class="fa fa-codepen"></i></a>
{{ end }}
{{ if .Site.Params.pinterest }}
<a href="https://pinterest.com/{{ .Site.Params.pinterest }}" target="_blank"><i class="fa fa-pinterest"></i></a>
{{ end }}
{{ if .Site.Params.facebook }}
<a href="https://facebook.com/{{ .Site.Params.facebook }}" target="_blank"><i class="fa fa-facebook"></i></a>
{{ end }}
{{ if .Site.Params.googleplus }}
<a href="https://plus.google.com/+{{ .Site.Params.googleplus }}" target="_blank"><i class="fa fa-google-plus"></i></a>
{{ end }}
</div>
</div>