aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/footer.html
diff options
context:
space:
mode:
authorAniol Marti <aniol@aniolmarti.cat>2021-04-29 13:04:24 +0200
committerAniol Marti <aniol@aniolmarti.cat>2021-04-29 13:04:24 +0200
commit9056f02b9b0e7fdfe56847c2ff10b21cdb5b493e (patch)
treefe0afb68092a83f17aac84150902185f2ea5373d /layouts/partials/footer.html
parent9cf4599276a1dcdeac9ff81014a140ca4fdfb93c (diff)
Add social icons in footer
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 192130b..56574b3 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,11 @@
<div id="footer" class="mb-5">
+ <hr>
+ <div class="container text-center">
+ {{ range $item := .Site.Params.socialIcons }}
+ <a href="{{ $item.url }}" class="{{ $item.icon }} fa-1x"></a>
+ {{ end }}
+ </div>
{{ with .Site.Params.footer }}
- <hr>
<div class="container text-center">
<a href="{{ .url | absURL }}" title="{{ .text }}"><small>{{ .text }}</small></a>
</div>