mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 13:39:55 +03:00
feat: Content License and Copyright holder as Footer
This commit is contained in:
parent
640a6c6956
commit
f3000f6830
3 changed files with 15 additions and 1 deletions
|
@ -25,7 +25,14 @@
|
|||
</div>
|
||||
|
||||
<footer>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ if .Param "showFooterLicense" }}
|
||||
<div>
|
||||
{{ partial "footer-license.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
|
6
layouts/partials/footer-license.html
Normal file
6
layouts/partials/footer-license.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<p>
|
||||
All content licensed under
|
||||
<b>{{ .Param "licenseType" }}</b>
|
||||
license unless otherwise stated.
|
||||
<b>Copyright © {{ .Param "copyrightYear" }} {{ .Param "copyrightHolder" }}.</b>
|
||||
</p>
|
Loading…
Add table
Add a link
Reference in a new issue