From 20b91ad2aa0c22c1be7850d21553664209a4b19f Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 1 May 2021 11:32:11 +0530 Subject: [PATCH] Use less space in footer for 'Powered by' strings; Don't break the 'Powered by' string in between --- assets/css/common/footer.css | 4 ++++ layouts/partials/footer.html | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/assets/css/common/footer.css b/assets/css/common/footer.css index 1e5632ba..65b4e2c3 100644 --- a/assets/css/common/footer.css +++ b/assets/css/common/footer.css @@ -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) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 153c436d..2c1113c8 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,10 +4,11 @@ {{- else }} © {{ now.Year }} {{ .Site.Title }} {{- end }} - · - Powered by Hugo - · - Theme PaperMod + + Powered by + Hugo & + PaperMod + {{- if (not .Site.Params.disableScrollToTop) }}