From 6b374646c4e2525e28987da09f6bee1412745a7f Mon Sep 17 00:00:00 2001 From: KitsuneSolar Date: Sat, 28 Oct 2023 23:36:44 +0000 Subject: [PATCH] 2023-10-28 23:36:44 --- layouts/_default/_markup/render-codeblock-terminal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-codeblock-terminal.html b/layouts/_default/_markup/render-codeblock-terminal.html index 9543c2a..c88fc0b 100644 --- a/layouts/_default/_markup/render-codeblock-terminal.html +++ b/layouts/_default/_markup/render-codeblock-terminal.html @@ -60,7 +60,7 @@
{{ (i18n "terminal") }}
{{ $lang := "" }} - {{ if (eq ($attr.hl) "false") }} + {{ if (or (eq ($attr.hl) "false") (eq ($attr.hl) "0")) }} {{ $lang = "plaintext" }} {{ else }} {{ if (eq ($attr.os) "windows") }}{{ $lang = "powershell" }}{{ end }}