From 790af96bbb82cdaa58d4c33a90a09bb2bfb8e8f9 Mon Sep 17 00:00:00 2001 From: "julia.evseeva" Date: Mon, 22 Dec 2025 17:01:29 +0100 Subject: [PATCH 1/3] Remove the cookie script component --- site/layouts/_default/baseof.html | 1 - .../_partials/components/cookie-notice.html | 41 ------------------- 2 files changed, 42 deletions(-) delete mode 100644 site/layouts/_partials/components/cookie-notice.html diff --git a/site/layouts/_default/baseof.html b/site/layouts/_default/baseof.html index 42cca3e2..fcd8e795 100644 --- a/site/layouts/_default/baseof.html +++ b/site/layouts/_default/baseof.html @@ -14,7 +14,6 @@ {{ partial "components/footer/footer.html" . }} - {{ partial "components/cookie-notice.html" . }} {{ partial "scripts/body-scripts.html" . }} diff --git a/site/layouts/_partials/components/cookie-notice.html b/site/layouts/_partials/components/cookie-notice.html deleted file mode 100644 index 7091ac20..00000000 --- a/site/layouts/_partials/components/cookie-notice.html +++ /dev/null @@ -1,41 +0,0 @@ - - -{{ $websiteURL := "spine.io" }} -{{ $notice := "uses cookies to help operate the site and gather analytics data. You can read more about it in our [Privacy Statement](privacy-statement/)." }} - - From 6d31b767ee38b4458634d9610b536d3178ff79a5 Mon Sep 17 00:00:00 2001 From: "julia.evseeva" Date: Mon, 22 Dec 2025 17:17:26 +0100 Subject: [PATCH 2/3] Add spaces between author name and date --- site/layouts/_partials/blog/post-info.html | 20 ++++++++++--------- .../_partials/components/iso-date.html | 14 ++++++------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/site/layouts/_partials/blog/post-info.html b/site/layouts/_partials/blog/post-info.html index f3b1c672..649f4dd4 100644 --- a/site/layouts/_partials/blog/post-info.html +++ b/site/layouts/_partials/blog/post-info.html @@ -28,19 +28,21 @@ {{ $hasLabel := .has_label | default false }} {{ $label := "" }} -{{ if and (not $context.Params.author) $hasLabel }} +{{ $postAuthor := $context.Params.author }} + +{{ if and (not $postAuthor) $hasLabel }} {{ $label = "Posted on" }} {{ end }} diff --git a/site/layouts/_partials/components/iso-date.html b/site/layouts/_partials/components/iso-date.html index 9179eae8..b6990aa3 100644 --- a/site/layouts/_partials/components/iso-date.html +++ b/site/layouts/_partials/components/iso-date.html @@ -24,14 +24,14 @@ ~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> -{{ $date := .date }} -{{ $label := .label }} +{{- $date := .date -}} +{{- $label := .label -}} -{{ $formattedDate := $date | time.Format ":date_long" }} -{{ $isoDate := $date | time.Format "2006-01-02" }} +{{- $formattedDate := $date | time.Format ":date_long" -}} +{{- $isoDate := $date | time.Format "2006-01-02" -}}

- {{ with $label }} - {{ .}} - {{ end }} + {{- with $label -}} + {{ . }}  + {{- end -}}

From 3850b7dd24fd04005682fe06c0da65416cded1f3 Mon Sep 17 00:00:00 2001 From: "julia.evseeva" Date: Mon, 22 Dec 2025 17:21:10 +0100 Subject: [PATCH 3/3] Clean up spaces --- site/layouts/_partials/blog/post-info.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/layouts/_partials/blog/post-info.html b/site/layouts/_partials/blog/post-info.html index 649f4dd4..494740e4 100644 --- a/site/layouts/_partials/blog/post-info.html +++ b/site/layouts/_partials/blog/post-info.html @@ -36,7 +36,7 @@