diff --git a/layouts/shortcodes/code-toggle.html b/layouts/shortcodes/code-toggle.html
index 4a45d09ea..9b33c0f14 100644
--- a/layouts/shortcodes/code-toggle.html
+++ b/layouts/shortcodes/code-toggle.html
@@ -62,7 +62,7 @@
{{- end }}
diff --git a/layouts/shortcodes/code.html b/layouts/shortcodes/code.html
index 1ccb44b7d..ac3cecc48 100644
--- a/layouts/shortcodes/code.html
+++ b/layouts/shortcodes/code.html
@@ -4,7 +4,7 @@
class="shortcode-code font-mono not-prose relative mt-6 mb-8 border-1 border-gray-200 dark:border-gray-800 bg-light dark:bg-dark">
{{ if (.Get "copy") }}