We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5777737 commit fd402ceCopy full SHA for fd402ce
ux.symfony.com/templates/ux_packages/package.html.twig
@@ -5,14 +5,14 @@
5
description: package.description,
6
canonical: url(package.route),
7
social: {
8
- title: package.tagline ~ ' - Symfony UX ' ~ package.humanName,
+ title: package.tagline ~ ' - Symfony UX ' ~ package.humanName|u.trimStart('UX '),
9
description: package.description|striptags,
10
image: {
11
- url: absolute_url(asset(package.imageFileName('1200x675'))),
+ url: absolute_url(asset(package.getSocialImage('1200x675'))),
12
type: 'image/png',
13
width: 1200,
14
height: 675,
15
- alt: package.name ~ ' - Component Icon',
+ alt: package.humanName ~ ' - Component Icon',
16
},
17
}
18
} %}
0 commit comments