diff options
Diffstat (limited to 'themes/default/layouts/_default/_markup/render-codeblock.html')
-rw-r--r-- | themes/default/layouts/_default/_markup/render-codeblock.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/_markup/render-codeblock.html b/themes/default/layouts/_default/_markup/render-codeblock.html index d629a85..85e60b2 100644 --- a/themes/default/layouts/_default/_markup/render-codeblock.html +++ b/themes/default/layouts/_default/_markup/render-codeblock.html @@ -4,12 +4,12 @@ {{- $hash := print (truncate 8 "" (sha256 .Inner)) .Ordinal -}} {{- $id := print "code-block-" $hash -}} -<code-block id="{{ $id }}" {{ if in (lower $options) "linenos" }}data-lines{{ end }}> +<code-block id="{{ $id }}" {{ if in (lower $options) "linenos" }}data-lines=""{{ end }}> <header> <language-label> <a href="#{{ $id }}">{{ $type }}</a> </language-label> - <button hidden> + <button hidden=""> {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/copy.svg")) }} <span>Copy</span> </button> |