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

@ -146,6 +146,7 @@ hr {
footer { footer {
font-size: small; font-size: small;
display: flex; display: flex;
flex-direction: column; /* Stack children vertically */
justify-content: center; justify-content: center;
align-items: center; align-items: center;
max-height: var(--footer-height); max-height: var(--footer-height);

View file

@ -25,7 +25,14 @@
</div> </div>
<footer> <footer>
{{ partial "footer.html" . }} {{ if .Param "showFooterLicense" }}
<div>
{{ partial "footer-license.html" . }}
</div>
{{ end }}
<div>
{{ partial "footer.html" . }}
</div>
</footer> </footer>
</body> </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>