Merge pull request #24 from arunmathaisk/main
feat: Content License and Copyright holder as Footer
This commit is contained in:
commit
eaf952c8c6
@ -1,8 +1,17 @@
|
|||||||
|
{{ $showFooter := default true .Site.Params.showFooter }}
|
||||||
|
{{ if $showFooter }}
|
||||||
|
{{ if not .Site.Params.footerContent }}
|
||||||
<p>Powered by
|
<p>Powered by
|
||||||
<a href="https://gohugo.io/">Hugo</a>
|
<a href="https://gohugo.io/">Hugo</a>
|
||||||
and
|
and
|
||||||
<a href="https://github.com/tomfran/typo">tomfran/typo</a>
|
<a href="https://github.com/tomfran/typo">tomfran/typo</a>
|
||||||
</p>
|
</p>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with .Site.Params.footerContent }}
|
||||||
|
<p>{{ . | markdownify }}</p>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Param "math" }}
|
{{ if .Param "math" }}
|
||||||
{{ partialCached "math.html" . }}
|
{{ partialCached "math.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user