diff options
author | Sungho Spark <spark.sungho@gmail.com> | 2019-09-24 02:30:21 +0300 |
---|---|---|
committer | Sungho Spark <spark.sungho@gmail.com> | 2019-09-24 02:30:21 +0300 |
commit | ef2ec5349ca42eccd2a5824bfd9792ca8a17fbe1 (patch) | |
tree | 79d05ad89650555b302042020ecc7d96f52af7b4 /layouts | |
parent | 284ec9d393814578391d284acf23b798a6b9fb61 (diff) |
Fixing missed context of footer partial, adding socialIcons from config
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 23 |
2 files changed, 4 insertions, 21 deletions
diff --git a/layouts/index.html b/layouts/index.html index 7cca630..7318827 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -10,4 +10,4 @@ {{ partial "cta.html" . }} -{{ partial "footer.html" }}
\ No newline at end of file +{{ partial "footer.html" . }}
\ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4851bd0..aeefc33 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -15,26 +15,9 @@ <div class="col-md-4 col-12"> {{ "<!-- Social Media -->" | safeHTML }} <ul class="social text-center text-md-right text-lg-right"> - <li> - <a href="#" class="facebook"> - <i class="ion-social-facebook"></i> - </a> - </li> - <li> - <a href="#" class="twitter"> - <i class="ion-social-twitter"></i> - </a> - </li> - <li> - <a href="#" class="linkedin"> - <i class="ion-social-linkedin"></i> - </a> - </li> - <li> - <a href="#" class="googleplus"> - <i class="ion-social-googleplus"></i> - </a> - </li> + {{ range .Site.Params.footer.socialIcon }} + <li><a href="{{ .url }}"><i class="{{ .icon }}"></i></a></li> + {{ end }} </ul> </div> </div> |