« get me outta code hell

Merge branch 'url-special-chars' into data-steps - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkExternalAsIcon.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-07-14 12:45:07 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-07-14 12:45:07 -0300
commitb34828921179b53434db4fa93a72dd52e5f72fa5 (patch)
tree94ee7fb4e49b06c683506c1566f1c4720a3cfbe5 /src/content/dependencies/linkExternalAsIcon.js
parent6f1d669e88cf0d92d73267291e2f70138e965c1f (diff)
parentd3315efaf0cfb481fa32a8ea1739431f32aa1a98 (diff)
Merge branch 'url-special-chars' into data-steps
Diffstat (limited to 'src/content/dependencies/linkExternalAsIcon.js')
-rw-r--r--src/content/dependencies/linkExternalAsIcon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/linkExternalAsIcon.js b/src/content/dependencies/linkExternalAsIcon.js
index 6496d026..cd168992 100644
--- a/src/content/dependencies/linkExternalAsIcon.js
+++ b/src/content/dependencies/linkExternalAsIcon.js
@@ -39,7 +39,7 @@ export default {
       html.tag('svg', [
         html.tag('title', msg),
         html.tag('use', {
-          href: to('shared.staticFile', `icons.svg#icon-${id}`),
+          href: to('shared.staticIcon', id),
         }),
       ]));
   },