diff --git a/exampleSite/hugo_stats.json b/exampleSite/hugo_stats.json index 244d90a4..7e00beac 100644 --- a/exampleSite/hugo_stats.json +++ b/exampleSite/hugo_stats.json @@ -208,8 +208,6 @@ "group-hover/code:hx-opacity-100", "group-hover:hx-underline", "group-open:before:hx-rotate-90", - "group/code", - "group/copybtn", "hamburger-menu", "hextra-card", "hextra-cards", @@ -303,6 +301,8 @@ "hx-grid", "hx-grid-cols-1", "hx-group", + "hx-group/code", + "hx-group/copybtn", "hx-grow", "hx-h-0", "hx-h-16", diff --git a/layouts/_default/_markup/render-codeblock.html b/layouts/_default/_markup/render-codeblock.html index fb8a3c75..2b65e88d 100644 --- a/layouts/_default/_markup/render-codeblock.html +++ b/layouts/_default/_markup/render-codeblock.html @@ -4,7 +4,7 @@ {{- $copyCode := (T "copyCode") | default "Copy code" -}} -
+
{{- if $filename -}}
{{ $filename }}
{{- end -}} @@ -15,7 +15,7 @@ {{- end -}}