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
}
.footer span:last-child {
white-space: nowrap;
}
.footer a {
color: inherit;
border-bottom: 1px solid var(--secondary)

View File

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