feat: Content License and Copyright holder as Footer

This commit is contained in:
Arun 2024-09-14 00:40:35 +05:30
parent 640a6c6956
commit f3000f6830
3 changed files with 15 additions and 1 deletions

View file

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

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