Use less space in footer for 'Powered by' strings;

Don't break the 'Powered by' string in between
This commit is contained in:
Aditya Telange 2021-05-01 11:32:11 +05:30
parent 0c64647138
commit 20b91ad2aa
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 9 additions and 4 deletions

View File

@ -17,6 +17,10 @@
margin-inline-end: 1px margin-inline-end: 1px
} }
.footer span:last-child {
white-space: nowrap;
}
.footer a { .footer a {
color: inherit; color: inherit;
border-bottom: 1px solid var(--secondary) border-bottom: 1px solid var(--secondary)

View File

@ -4,10 +4,11 @@
{{- else }} {{- else }}
<span>&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a></span> <span>&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a></span>
{{- end }} {{- end }}
<span>&middot;</span> <span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a></span> Powered by
<span>&middot;</span> <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> &
<span>Theme <a href="https://git.io/hugopapermod" rel="noopener" target="_blank">PaperMod</a></span> <a href="https://git.io/hugopapermod" rel="noopener" target="_blank">PaperMod</a>
</span>
</footer> </footer>
{{- if (not .Site.Params.disableScrollToTop) }} {{- if (not .Site.Params.disableScrollToTop) }}