tree: use correct color for HTML color values #1067

This commit is contained in:
Sören Weber 2025-03-24 15:37:13 +01:00
parent 64c314c654
commit a5b517d1aa
No known key found for this signature in database
GPG Key ID: BEC6D55545451B6D
3 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ Codefence syntax is widely available in other Markdown parsers like GitHub and t
### Item Syntax
`<NAME> [ | <ICON> [ | <COLOR> ] ]`
`<NAME>` [ `|` `<ICON>` [ `|` `<COLOR>` ] ]
The **NAME** can be followed by an optional pipe (`|`) to define an **ICON** and further optional pipe to define the icon's **COLOR**.

View File

@ -3,7 +3,7 @@
{{- range site.Params.boxStyle }}
{{- if eq (lower .identifier) $style }}
{{- $title := or .title (.i18n | T) }}
{{- $set = dict "identifier" .identifier "style" $style "title" $title "icon" .icon }}
{{- $set = dict "style" $style "title" $title "icon" .icon }}
{{- break }}
{{- end }}
{{- end }}
@ -46,7 +46,7 @@
{{- end }}
{{- end }}
{{- if not $set }}
{{- $set = dict "style" $style "title" "" "icon" "" }}
{{- $set = dict "style" "" "title" "" "icon" "" }}
{{- end }}
{{- if .title }}
{{- $set = merge $set (dict "title" .title) }}

View File

@ -1 +1 @@
7.5.0+c5d591c5149619f251e2a6de0392c513b10b31d1
7.5.0+64c314c65460adb4477a7001dae028ccc241bcc2