From b4cb3dd85c174d7a2e38457854c2a2ce3bc681bb Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 31 Dec 2023 23:14:26 -0400 Subject: content: linkExternal: move nowrap class beneath href --- src/content/dependencies/linkExternal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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'}, -- cgit 1.3.0-6-gf8a5