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 { footer {
margin-top: 20px; margin-top: 20px;
text-align: center; text-align: center;
font-size: smaller;
} }
footer p { footer p {

View File

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