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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-06-11 16:44:05 +0300
committerHanzei <hanzei@mailbox.org>2018-06-11 16:44:05 +0300
commitf189be2162c8795c8ce3723189d5f93fb9b3bd0a (patch)
tree23d94d039cb86d74279de261fe4cbf663ea8af1d
parentb4c2a0acfe389df1e06f1a097d2fd2c1861bb227 (diff)
Markdownify footer text
-rw-r--r--layouts/partials/footer.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 67b8b36..78dc47c 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,9 +1,9 @@
<div class="section" id="footer"><!-- Begin Footer section -->
<div class="container has-text-centered"><!-- Begin Footer container -->
- {{ if .Site.Params.footerText }}
- {{ .Site.Params.footerText }}
- {{ else }}
+ {{ if .Site.Params.footerText }}
+ {{ .Site.Params.footerText | markdownify }}
+ {{ else }}
<span class="footer-text"><a href="https://github.com/vickylai/hugo-theme-introduction" target="_blank" rel="noopener">Introduction</a> theme for <a href="http://gohugo.io/" target="_blank" rel="noopener">Hugo</a>. Made with <i class="fa fa-heart"></i> and <i class="fa fa-coffee"></i> by <a href="https://vickylai.com" target="_blank" rel="noopener">Vicky Lai</a>.</span>
- {{ end }}
+ {{ end }}
</div><!-- End Footer container -->
</div><!-- End Footer section -->