diff options
author | Hanzei <hanzei@mailbox.org> | 2018-06-11 16:44:05 +0300 |
---|---|---|
committer | Hanzei <hanzei@mailbox.org> | 2018-06-11 16:44:05 +0300 |
commit | f189be2162c8795c8ce3723189d5f93fb9b3bd0a (patch) | |
tree | 23d94d039cb86d74279de261fe4cbf663ea8af1d | |
parent | b4c2a0acfe389df1e06f1a097d2fd2c1861bb227 (diff) |
Markdownify footer text
-rw-r--r-- | layouts/partials/footer.html | 8 |
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 --> |