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

github.com/salsysd/hugo-assembly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsalomon valverde <salomon.valverde@gmail.com>2018-09-14 19:36:20 +0300
committersalomon valverde <salomon.valverde@gmail.com>2018-09-14 19:36:20 +0300
commitc3e626cf34f4231b2a13b837af5c2044db4376cc (patch)
treee09a70165043a842b5d5dfbfdfa0a5a927ce2f49
parentdcc5bac467c89cc8530293e1811871b9bd2c7bb1 (diff)
add footer content from config
-rw-r--r--layouts/partials/footer.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index a86ccb5..2f1d3fd 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,3 +1,5 @@
+{{ if .Site.Params.footer.enable }}
<div id="copyright" class="container">
- <p>&copy; Assembly Inc. All rights reserved. | Photos by <a href="http://fotogrph.com/">Fotogrph</a> | Design by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>.</p>
+ <p>{{ with .Site.Params.footer.copy }}{{ . | markdownify }}{{ end }}<</p>
</div>
+{{ end }}