Add TwigBundle 6.4 with file_name_pattern: *.twig (#1256)

* Add TwigBundle 6.4 with file_name_pattern=*.twig

* Remove twig.default_path as it's already the default value

https://github.com/symfony/symfony/blob/v6.4.0-RC1/src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php#L145C33-L145C33

* Add "sf" to the favicon to look like the Symfony logo
This commit is contained in:
Jérôme Tamarelle
2024-01-20 10:56:04 +01:00
committed by GitHub
parent 66d9ffb4ea
commit 46a908bfa4
3 changed files with 34 additions and 0 deletions
@@ -0,0 +1,6 @@
twig:
file_name_pattern: '*.twig'
when@test:
twig:
strict_variables: true
+12
View File
@@ -0,0 +1,12 @@
{
"bundles": {
"Symfony\\Bundle\\TwigBundle\\TwigBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"templates/": "templates/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
}
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
{% block stylesheets %}
{% endblock %}
{% block javascripts %}
{% endblock %}
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>