updt: footer

This commit is contained in:
Junyi Hou 2024-03-04 15:08:49 +08:00
parent a140817288
commit 41359247d2
2 changed files with 8 additions and 5 deletions

View File

@ -707,10 +707,11 @@ code.has-jax {
/* Footer */ /* Footer */
.common-footer { .common-footer {
border-top: thin solid var(--hr-color);
padding-top: 1.5em; padding-top: 1.5em;
margin-top: 3em; margin-top: 3em;
font-size: 16px; font-size: 12px;
margin-bottom: 1.5em;
color: var(--pagination-link-color);
} }
.common-footer-bottom { .common-footer-bottom {

View File

@ -13,11 +13,13 @@
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}
<div class="copyright">
<p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br> <div>
© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}
</div>
<div>
{{ i18n "powered" }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/Junyi-99/hugo-theme-anubis2">Anubis2</a>.<br> {{ i18n "powered" }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/Junyi-99/hugo-theme-anubis2">Anubis2</a>.<br>
{{ partial "footer-extra.html" . }} {{ partial "footer-extra.html" . }}
</p>
</div> </div>
</div> </div>