From 8e7eb9ad36bb065ea1be8da980d3bd60f8bd863f Mon Sep 17 00:00:00 2001
From: 1bl4z3r <34515568+1bl4z3r@users.noreply.github.com>
Date: Mon, 24 Feb 2025 07:57:32 +0000
Subject: [PATCH] Forgot to properly re-use the config parameters. Fixed. Sorry
for that
Signed-off-by: 1bl4z3r <34515568+1bl4z3r@users.noreply.github.com>
---
assets/scss/style.scss | 2 +-
layouts/_default/list.html | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/assets/scss/style.scss b/assets/scss/style.scss
index 1d0d88e..6998aea 100644
--- a/assets/scss/style.scss
+++ b/assets/scss/style.scss
@@ -542,7 +542,7 @@ p.img-404 {
display: flex;
justify-content: space-between;
align-items: baseline;
- padding: 8px 0;
+ padding: 10px 0;
}
}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index ef4f846..0619bc8 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -50,18 +50,18 @@
- {{- if and .Page.Params.tags .Site.Params.tagsInPosts -}}
+ {{- if and .Page.Params.tags (in .Site.Params.listLayout "tags") -}}
{{- range .Page.Params.tags -}}
{{- . -}}
{{- end -}}
{{- end -}}
- {{- if and .Page.Params.categories .Site.Params.categoriesInPosts -}}
+ {{- if and .Page.Params.categories (in .Site.Params.listLayout "categories") -}}
{{- range .Page.Params.categories -}}
{{- . -}}
@@ -93,14 +93,14 @@ {{- .Site.Params.pinned -}}
{{ .Page.Params.description }}
{{- end -}}
{{- if or (in .Site.Params.listLayout "tags") (in .Site.Params.listLayout "categories") -}}
- {{- if and .Page.Params.tags .Site.Params.tagsInPosts -}}
+ {{- if and .Page.Params.tags (in .Site.Params.listLayout "tags") -}}
{{- range .Page.Params.tags -}}
{{- . -}}
{{- end -}}
{{- end -}}
- {{- if and .Page.Params.categories .Site.Params.categoriesInPosts -}}
+ {{- if and .Page.Params.categories (in .Site.Params.listLayout "categories") -}}
{{- range .Page.Params.categories -}}
{{- . -}}