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

github.com/bul-ikana/hugo-cards.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Aguirre <bul.ikana@gmail.com>2018-09-29 08:51:23 +0300
committerHugo Aguirre <bul.ikana@gmail.com>2018-09-29 08:51:23 +0300
commit40f14990a1d2ee27e4a6b359bbc5d363603430c6 (patch)
tree50555ae98275bc52d412993072b73c896e5fec9f /layouts
parent8d8d3e40330751ac4ef201367189c8321ed189be (diff)
Add footer
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/footer.html33
2 files changed, 34 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 07ca575..5753687 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -14,7 +14,7 @@
</div>
</div>
- {include "footer.html" }}
+ {{ partial "footer.html" . }}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e69de29..23995f0 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -0,0 +1,33 @@
+<footer>
+ <div class="container">
+ <div class="row p20">
+ {{ with .Site.Params.copyright }}
+ <div class="col-md-4 text-center mt25">All rights reserved by <a target="_blank" href="{{ .link }}">{{ .name }}</a></div>
+ {{ end }}
+
+ <div class="col-md-4 text-center mt25" >
+ {{ with .Site.Params.builtBy }}
+ <a target="_blank" href="http://webjeda.com"><img src="https://img.shields.io/badge/Built%20by-webjeda-blue.svg" alt="{{.}}"></a>
+ {{ end }}
+ </div>
+ <div class="col-md-4 text-center mt25">
+ {{ with .Site.Params.facebook }}
+ <a target="_blank" href="{{.}}"><li class="social facebook"><i class="fa fa-facebook-square"></i></li></a>
+ {{ end }}
+ {{with .Site.Params.quora }}
+ <a target="_blank" href="{{.}}"><li class="social quora"><i class="fa fa-quora"></i></li></a>
+ {{ end }}
+ {{with .Site.Params.twitter }}
+ <a target="_blank" href="{{.}}"><li class="social twitter"><i class="fa fa-twitter-square"></i></li></a>
+ {{ end }}
+ {{with .Site.Params.github }}
+ <a target="_blank" href="{{.}}"><li class="social github"><i class="fa fa-github-square"></i></li></a>
+ {{ end }}
+ {{with .Site.Params.email }}
+ <a target="_blank" href="mailto:{{.}}"><li class="social email"><i class="fa fa-envelope"></i></li></a>
+ {{ end }}
+ </div>
+
+ </div>
+ </div>
+</footer>