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 001/428] 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 f0a1ffc..87dc7d4 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 002/428] 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 0d4d0c0..ac5bd99 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") -}}
{{- partial "extend_footer.html" . -}}
-{{ if in site.Params.mainSections .Type }}
+{{ if (and (in site.Params.mainSections .Type) (ne .Layout `archives`) (ne .Layout `search`)) }}
{{- if not .Site.Params.assets.disableFingerprinting }}
{{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint }}
+
{{- else}}
{{ $search := (slice $fusejs $fastsearch ) | resources.Concat "assets/js/search.js" | minify }}
-
+
{{- end}}
{{- end -}}
From e252e761f54f1f871630cdcc5416e90de1ec89d6 Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Tue, 29 Dec 2020 16:03:49 +0530
Subject: [PATCH 047/428] footer: allow disabling HLJS #143
usage =>
in site config =>
params:
assets:
disableHLJS: true
per-page in front-matter =>
disableHLJS: true
---
layouts/_default/baseof.html | 2 +-
layouts/partials/footer.html | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 11fb678..8f17b93 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -18,7 +18,7 @@
{{- block "main" . }}
{{- end }}
- {{- partialCached "footer.html" . .Type .Layout }}
+ {{- partialCached "footer.html" . .Type .Layout .Params }}