mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-21 20:03:18 -06:00
Use CSS to set footer font size instead of <small>
This commit is contained in:
parent
e6b5997dff
commit
ad5c40b02b
@ -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 {
|
||||||
|
@ -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 }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user