Skip to content

Commit 5351778

Browse files
committed
minor #2187 Improve title tag (seb-jean)
This PR was merged into the 2.x branch. Discussion ---------- Improve title tag | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #2186 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 5982e3c Update base.html.twig
2 parents 412da63 + 5982e3c commit 5351778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ux.symfony.com/templates/base.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>{% block title %}{{ meta.title|default }}{{ meta.title_suffix|default(' - Symfony UX') }}{% endblock %}</title>
5+
<title>{% block title %}{{ meta.title|default }}{{ meta.title_suffix ?? ' - Symfony UX' }}{% endblock %}</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta name="color-scheme" content="dark light">
88
<meta name="view-transition" content="same-origin" />

0 commit comments

Comments
 (0)