Markdownify footer text

This commit is contained in:
Hanzei 2018-06-11 15:44:05 +02:00
parent b4c2a0acfe
commit f189be2162
No known key found for this signature in database
GPG key ID: 69A2DEFD98937BA0

View file

@ -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 -->