Add social icons

This commit is contained in:
Luiz de Prá
2018-08-22 08:36:14 -03:00
parent 8e7b5dd41a
commit 333e6358c8
9 changed files with 35 additions and 10 deletions

View File

@@ -8,7 +8,11 @@
{{ with .Site.Params.social }}
<ul>
{{ range sort .}}
<li><a href="{{ .url }}">{{ .name }}</a></li>
{{ if .icon }}
<li><a href="{{ .url }}"><i class="{{ .icon }}"></i></a></li>
{{ else }}
<li><a href="{{ .url }}">{{ .name }}</a></li>
{{ end }}
{{ end }}
</ul>
{{ end }}