From d3bf75bfc71ca7e3f5e86174309e9d491aacec65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 1 Dec 2024 22:38:48 +0100 Subject: [PATCH] notice: fix broken color parameter #957 --- layouts/partials/shortcodes/notice.html | 2 +- layouts/partials/version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/shortcodes/notice.html b/layouts/partials/shortcodes/notice.html index 988e137e1c..0ebae91dc4 100644 --- a/layouts/partials/shortcodes/notice.html +++ b/layouts/partials/shortcodes/notice.html @@ -46,7 +46,7 @@ {{- $params = dict "class" (delimit $classes " ") | merge $params }} {{- if $color }} {{- $styles := split (index $params "style" | default "") ";" }} - {{- $styles = $styles | append "--VARIABLE-BOX-color: {{ $color }}" }} + {{- $styles = $styles | append (printf "--VARIABLE-BOX-color: %s" $color) }} {{- $params = dict "style" (delimit $styles ";") | merge $params }} {{- end }} {{ if $groupid }} diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 8689d37747..91900652ab 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.1.1+b03a0f508a86e6919ea8f8519f38cc2c29e53fcd \ No newline at end of file +7.1.1+fc764993a8a7cc2b0b7e5bdd4776de8ce1de92d4 \ No newline at end of file