Skip to content

Commit fd402ce

Browse files
committed
Fix package social asset path
1 parent 5777737 commit fd402ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ux.symfony.com/templates/ux_packages/package.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
description: package.description,
66
canonical: url(package.route),
77
social: {
8-
title: package.tagline ~ ' - Symfony UX ' ~ package.humanName,
8+
title: package.tagline ~ ' - Symfony UX ' ~ package.humanName|u.trimStart('UX '),
99
description: package.description|striptags,
1010
image: {
11-
url: absolute_url(asset(package.imageFileName('1200x675'))),
11+
url: absolute_url(asset(package.getSocialImage('1200x675'))),
1212
type: 'image/png',
1313
width: 1200,
1414
height: 675,
15-
alt: package.name ~ ' - Component Icon',
15+
alt: package.humanName ~ ' - Component Icon',
1616
},
1717
}
1818
} %}

0 commit comments

Comments
 (0)