mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 05:29:54 +03:00
Merge pull request #24 from arunmathaisk/main
feat: Content License and Copyright holder as Footer
Former-commit-id: eaf952c8c6
Former-commit-id: a1dc53fe4fd3c32779e76fda09bdb8c84c118573
This commit is contained in:
commit
eef61864e8
2 changed files with 15 additions and 6 deletions
|
@ -27,7 +27,7 @@
|
|||
<footer>
|
||||
{{ partial "footer.html" . }}
|
||||
</footer>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
<p>Powered by
|
||||
<a href="https://gohugo.io/">Hugo</a>
|
||||
and
|
||||
<a href="https://github.com/tomfran/typo">tomfran/typo</a>
|
||||
</p>
|
||||
{{ $showFooter := default true .Site.Params.showFooter }}
|
||||
{{ if $showFooter }}
|
||||
{{ if not .Site.Params.footerContent }}
|
||||
<p>Powered by
|
||||
<a href="https://gohugo.io/">Hugo</a>
|
||||
and
|
||||
<a href="https://github.com/tomfran/typo">tomfran/typo</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.footerContent }}
|
||||
<p>{{ . | markdownify }}</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Param "math" }}
|
||||
{{ partialCached "math.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue