From 673f7ccc969298efa0507f44037a60bd71f88eed Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 28 Nov 2020 22:33:57 +0530 Subject: [PATCH 01/10] baseof: rm unused classes single, home --- layouts/_default/baseof.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f28e12ba..6036e194 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,8 +5,14 @@ {{- partial "head.html" . }} - + {{- partialCached "header.html" . .Page}}
{{- block "main" . }} From e7e5e8ce6d5863f75a747a00f902e722cd8f458e Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 28 Nov 2020 23:03:06 +0530 Subject: [PATCH 02/10] main(css): rm media rule for smaller devices -has no effect --- assets/css/main.css | 6 ------ 1 file changed, 6 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index d78286f6..b9dbe418 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -6,12 +6,6 @@ padding: var(--gap) } -@media screen and (max-width:400px) { - .main { - min-height: calc(100vh - var(--header-height) - var(--footer-height) - 24px) - } -} - .page-header { margin-bottom: 24px } From ad11fe16ed0204234fa5834051c582501fd2932d Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 28 Nov 2020 23:04:10 +0530 Subject: [PATCH 03/10] language-switch: rm humanize on 'displayFullLangName' - displays weird text :/ --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 0066a795..9074b13c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -93,7 +93,7 @@ {{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }} - {{- .Language.LanguageName | emojify | humanize -}} + {{- .Language.LanguageName | emojify -}} {{- else }} {{- .Lang | humanize -}} {{- end -}} From e89e7570cdedc7c180a969d98499194a44864a9c Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Sat, 28 Nov 2020 22:50:56 -0500 Subject: [PATCH 04/10] Archive: Close the tag for month counts (#93) --- layouts/_default/archives.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index b63460ba..22b5d9ae 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -13,7 +13,7 @@ {{- range .Pages.GroupByDate "January" }}
-

{{- .Key }}  {{ len .Pages }}

+

{{- .Key }}  {{ len .Pages }}

{{- range .Pages }} {{- if eq .Kind "page" }} From 0d8cb9fd157532641940338cea4e90972eccf8d6 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 29 Nov 2020 09:39:57 +0530 Subject: [PATCH 05/10] cover: responsive cover: rm forced q100 - lets quality attribute in imaging section - https://gohugo.io/content-management/image-processing/#image-processing-config close #92 --- layouts/partials/cover.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html index c1861cf3..d44581b5 100644 --- a/layouts/partials/cover.html +++ b/layouts/partials/cover.html @@ -13,7 +13,7 @@ {{- if (and (in $processableFormats $cover.MediaType.SubType) (ne .Site.Params.cover.responsiveImages false) (eq $prod true)) }} {{ $alt }} From b5f3debebb570a7a737427cac1c7844ac9aade8c Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 30 Nov 2020 12:52:21 +0530 Subject: [PATCH 06/10] footer: go-to-top: fix overlap with next_page button close: #91 --- assets/css/footer.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/footer.css b/assets/css/footer.css index f0a1ffcd..87dc7d43 100644 --- a/assets/css/footer.css +++ b/assets/css/footer.css @@ -51,3 +51,9 @@ .top-link:focus { outline: 0 } + +@media screen and (max-width:800px) { + .list .top-link { + transform: translateY(-5rem) + } +} From 29797a7464b63147c25be21ec99839012d30ca5d Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 30 Nov 2020 20:46:30 +0530 Subject: [PATCH 07/10] social-icons: add kofi icon #29 * thanks to https://iconify.design/icon-sets/simple-icons/kofi.html and Simple Icons Collaborators * License CC0 1.0 * edited to fit dual-tone theme --- layouts/partials/svg.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 0d4d0c0c..ac5bd993 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -178,6 +178,13 @@ +{{- else if (eq $icon_name "kofi") -}} + + + {{- else if (eq $icon_name "lastfm") -}} Date: Tue, 1 Dec 2020 08:36:08 +0530 Subject: [PATCH 08/10] header: fix menu items overflow instead of horizontal scroll #99 - broken by https://git.io/JIfLS --- assets/css/header.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/css/header.css b/assets/css/header.css index e4ec64e1..c5fcf9d4 100644 --- a/assets/css/header.css +++ b/assets/css/header.css @@ -16,6 +16,9 @@ .menu { display: flex; margin: auto var(--gap); +} + +.logo { flex-wrap: inherit } From 7a0e742def494eee80a9b6fcd069f92b0ce5abac Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 1 Dec 2020 13:58:16 +0530 Subject: [PATCH 09/10] header: improve menu location indicator - fix non-highlight on subdirs - menu url need not have leading or trailing slashes - fix non-highlight with multilingual config --- layouts/partials/header.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 9074b13c..6579922d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -109,12 +109,11 @@ {{- $currentPage := . }}