{{- cond (.Param "capitalizeTitles") (title .Title) .Title -}}
+{{- cond (.Param "capitalizeTitles") (title .Title) .Title -}}
{{- /* Subtitle */ -}} {{- with $params.subtitle -}}{{ . | $.RenderString }}
{{- end -}} From 9c57b8a2e92bd1a1adf4b134c1ea7435c6c27378 Mon Sep 17 00:00:00 2001 From: TsaiLintung <101155567+TsaiLintung@users.noreply.github.com> Date: Sun, 20 Oct 2024 12:56:49 -0700 Subject: [PATCH 12/13] wrong one --- layouts/posts/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 24d733f29..c4ec16b51 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -24,7 +24,7 @@
+
{{- $repost := $params.repost | default dict -}}
{{- with $repost -}}
{{- if eq .Enable true -}}
From 31487fec914ec8a3e41787b2de0d57fa21f9c4ad Mon Sep 17 00:00:00 2001
From: TsaiLintung <101155567+TsaiLintung@users.noreply.github.com>
Date: Sat, 26 Oct 2024 15:06:00 -0700
Subject: [PATCH 13/13] less animation
---
layouts/_default/home.archives.html | 2 +-
layouts/_default/single.html | 2 +-
layouts/partials/header.html | 4 ++--
layouts/posts/single.html | 4 ++--
layouts/section/section.html | 2 +-
layouts/taxonomy/list.html | 2 +-
layouts/taxonomy/terms.html | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/layouts/_default/home.archives.html b/layouts/_default/home.archives.html
index 0ae4d2664..d7575a7a8 100644
--- a/layouts/_default/home.archives.html
+++ b/layouts/_default/home.archives.html
@@ -10,7 +10,7 @@
{{- /* Title */ -}}
-
+
{{- dict "Class" "fa-solid fa-box-archive fa-fw me-1" | partial "plugin/icon.html" -}}
{{- .Params.Title | default (T "archives") }} {{ $pages.Len }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a0d7d2c62..2db8fb440 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -11,7 +11,7 @@
{{- cond (.Param "capitalizeTitles") (title .Title) .Title -}}
{{- /* Subtitle */ -}}
- {{- with $params.subtitle -}}
{{ . | $.RenderString }}
{{- end -}}
+ {{- with $params.subtitle -}}{{ . | $.RenderString }}
{{- end -}}
{{- /* Content */ -}}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 1170f7d5c..b508267a4 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -2,7 +2,7 @@
{{- $homeRelPermalink := .Scratch.Get "homeRelPermalink" -}}
{{- /* Desktop header */ -}}
-
+
+
{{- dict "Class" "fa-solid fa-box-archive fa-fw me-1" | partial "plugin/icon.html" -}}
{{- .Params.Title | default (T "archives") }} {{ $pages.Len }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a0d7d2c62..2db8fb440 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -11,7 +11,7 @@
{{- cond (.Param "capitalizeTitles") (title .Title) .Title -}}
{{- /* Subtitle */ -}}
- {{- with $params.subtitle -}}
{{ . | $.RenderString }}
{{- end -}} + {{- with $params.subtitle -}}{{ . | $.RenderString }}
{{- end -}}