From 333e6358c824432b0c6e9307cf16fbf412ec77f2 Mon Sep 17 00:00:00 2001
From: Luiz de PrĂ¡ <rawarkanis@gmail.com>
Date: Wed, 22 Aug 2018 11:54:56 +0000
Subject: [PATCH] Add social icons
---
layouts/partials/home.html | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/home.html b/layouts/partials/home.html
index 0e5d043..9df0e00 100644
--- a/layouts/partials/home.html
+++ b/layouts/partials/home.html
@@ -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 }}
--
Gitblit v1.10.0