Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/saey55/hugo-elate-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMR CHRISTOPHE PRIGENT <christophe.prigent@gmail.com>2018-01-24 12:55:46 +0300
committerGitHub <noreply@github.com>2018-01-24 12:55:46 +0300
commite296260e44ec2a5f4e0e4c1b6c7b00d9264222da (patch)
tree504fa84e501522e1d03a5356ba223f87cc3ffde0
parentc2a7b11cd51a8c116e8c3858e54228725d407e9e (diff)
parentbdef8c8ef2f7f0c56589b73b80e02a8da58aa3d9 (diff)
Merge pull request #1 from christopheprigent/patch-1
Allow links in footer to be parameterized.
-rwxr-xr-xlayouts/partials/footer.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index c1e0676..92bc47f 100755
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -4,15 +4,14 @@
<div class="">
<div class="col-md-12 text-center">
<p>{{ with .Site.Params.footer.copyright }}{{ . | markdownify }}{{ end }}</p>
-
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<ul class="social social-circle">
- <li><a href="#"><i class="icon-twitter"></i></a></li>
- <li><a href="#"><i class="icon-facebook"></i></a></li>
- <li><a href="#"><i class="icon-youtube"></i></a></li>
+ {{ range .Site.Params.footer.links }}
+ <li><a href="{{ with index . 1}}{{ . }}{{ end }}"><i class="{{ with index . 0}}{{ . }}{{ end }}"></i></a></li>
+ {{ end }}
</ul>
</div>
</div>