From b0d20c958cf8ef1edd4ac3ce28beb9ef63d00bdb Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Mar 2024 18:42:54 -0300 Subject: content, external-links: [normal, compact] -> [platform, handle] --- src/content/dependencies/linkExternalAsIcon.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/content/dependencies/linkExternalAsIcon.js') diff --git a/src/content/dependencies/linkExternalAsIcon.js b/src/content/dependencies/linkExternalAsIcon.js index 3eb355a9..c363ad90 100644 --- a/src/content/dependencies/linkExternalAsIcon.js +++ b/src/content/dependencies/linkExternalAsIcon.js @@ -21,8 +21,8 @@ export default { const format = style => language.formatExternalLink(data.url, {style, context: slots.context}); - const normalText = format('normal'); - const compactText = format('compact'); + const platformText = format('platform'); + const handleText = format('handle'); const iconId = format('icon-id'); return html.tag('a', {class: 'icon'}, @@ -34,7 +34,7 @@ export default { [ html.tag('svg', [ !slots.withText && - html.tag('title', normalText), + html.tag('title', platformText), html.tag('use', { href: to('shared.staticIcon', iconId), @@ -43,7 +43,7 @@ export default { slots.withText && html.tag('span', {class: 'icon-text'}, - compactText ?? normalText), + handleText ?? platformText), ]); }, }; -- cgit 1.3.0-6-gf8a5