diff options
author | tdro <tdro@noreply.example.com> | 2023-06-18 18:32:33 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-06-18 18:32:33 -0400 |
commit | 0966342656bfa868fc759d6c5e7153089f73dd1c (patch) | |
tree | a989f160dbcb77e9202fc8f736a444a2436cc2dc | |
parent | 84b2577f14e35168a58e65de29b8bb44ae5383f2 (diff) | |
download | canory-0966342656bfa868fc759d6c5e7153089f73dd1c.tar.gz canory-0966342656bfa868fc759d6c5e7153089f73dd1c.tar.bz2 canory-0966342656bfa868fc759d6c5e7153089f73dd1c.zip |
themes/default/layouts/_default/_markup/render-codeblock: Remove copy button
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | static/icons/feather/copy.svg | 14 | ||||
-rw-r--r-- | themes/default/layouts/_default/_markup/render-codeblock.html | 4 |
3 files changed, 0 insertions, 19 deletions
@@ -75,7 +75,6 @@ icons: curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/calendar.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/circle.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/clock.svg --output-dir static/icons/feather - curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/copy.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/edit.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/external-link.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/eye-off.svg --output-dir static/icons/feather diff --git a/static/icons/feather/copy.svg b/static/icons/feather/copy.svg deleted file mode 100644 index c8d4956..0000000 --- a/static/icons/feather/copy.svg +++ /dev/null @@ -1,14 +0,0 @@ -<svg - xmlns="http://www.w3.org/2000/svg" - width="24" - height="24" - viewBox="0 0 24 24" - fill="none" - stroke="currentColor" - stroke-width="2" - stroke-linecap="round" - stroke-linejoin="round" -> - <rect x="9" y="9" width="13" height="13" rx="2" ry="2" /> - <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" /> -</svg> diff --git a/themes/default/layouts/_default/_markup/render-codeblock.html b/themes/default/layouts/_default/_markup/render-codeblock.html index f18f0d3..3529dc4 100644 --- a/themes/default/layouts/_default/_markup/render-codeblock.html +++ b/themes/default/layouts/_default/_markup/render-codeblock.html @@ -9,10 +9,6 @@ <language-label> <a href="#{{ $id }}">{{ $type }}</a> </language-label> - <button hidden=""> - {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/copy.svg")) }} - <span>Copy</span> - </button> </header> {{ highlight .Inner $type (print $options ",lineAnchors=" "code-line-" $hash) }} </code-block> |