« get me outta code hell

content: linkExternal: move nowrap class beneath href - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-12-31 23:14:26 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-12-31 23:14:26 -0400
commitb4cb3dd85c174d7a2e38457854c2a2ce3bc681bb (patch)
tree7ce0a5d2f8241777d724b27c2332722c7fbef5ee /src/content/dependencies
parentd1aea23d39423547ba163491f3ebea76e8cfd98e (diff)
content: linkExternal: move nowrap class beneath href
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/linkExternal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/linkExternal.js b/src/content/dependencies/linkExternal.js
index 16990023..ba2dbf21 100644
--- a/src/content/dependencies/linkExternal.js
+++ b/src/content/dependencies/linkExternal.js
@@ -27,8 +27,8 @@ export default {
 
   generate: (data, slots, {html, language}) =>
     html.tag('a',
-      {class: 'nowrap'},
       {href: data.url},
+      {class: 'nowrap'},
 
       slots.tab === 'separate' &&
         {target: '_blank'},