diff options
author | tdro <tdro@noreply.example.com> | 2023-01-22 02:42:39 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-01-22 02:42:39 -0500 |
commit | 6c889c658ed71bdc18e5b767053530618dcf1759 (patch) | |
tree | 19d00ab286dd3b73aa7b0b03e5ca1aecee45f3ef /themes/default/layouts/_default/_markup/render-codeblock.html | |
parent | 52a3cc202f4f58ee9326924b3a0ecbc29af083b1 (diff) | |
download | canory-6c889c658ed71bdc18e5b767053530618dcf1759.tar.gz canory-6c889c658ed71bdc18e5b767053530618dcf1759.tar.bz2 canory-6c889c658ed71bdc18e5b767053530618dcf1759.zip |
themes/default/layouts: Tighten up the markup
Might be able to get free computation..
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> |