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 }}