diff options
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 |
commit | b4cb3dd85c174d7a2e38457854c2a2ce3bc681bb (patch) | |
tree | 7ce0a5d2f8241777d724b27c2332722c7fbef5ee | |
parent | d1aea23d39423547ba163491f3ebea76e8cfd98e (diff) |
content: linkExternal: move nowrap class beneath href
-rw-r--r-- | src/content/dependencies/linkExternal.js | 2 |
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'}, |