Use CSS to set footer font size instead of <small>

This commit is contained in:
BBaoVanC 2023-04-06 00:18:18 -05:00
parent e6b5997dff
commit ad5c40b02b
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 7 additions and 8 deletions

View File

@ -187,6 +187,7 @@ body {
footer {
margin-top: 20px;
text-align: center;
font-size: smaller;
}
footer p {

View File

@ -24,15 +24,13 @@
{{ if or .Site.Copyright .Site.Params.footer }}
<footer>
<small>
{{ with .Site.Copyright }}
<p>{{ . | safeHTML }}</p>
{{ end }}
{{ with .Site.Copyright }}
<p>{{ . | safeHTML }}</p>
{{ end }}
{{ with .Site.Params.footer }}
{{ . | $.RenderString (dict "display" "block") }}
{{ end }}
</small>
{{ with .Site.Params.footer }}
{{ . | $.RenderString (dict "display" "block") }}
{{ end }}
</footer>
{{ end }}