mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 15:46:37 +03:00
50 lines
2.2 KiB
JSON
50 lines
2.2 KiB
JSON
{
|
|
"locks": {
|
|
"symfony/twig-bundle": {
|
|
"version": "5.0",
|
|
"recipe": {
|
|
"repo": "5.0",
|
|
"branch": "master",
|
|
"version": "5.0",
|
|
"ref": "1766a292f47e3bf94bcfc192c2aa090588f9f46d"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"symfony/twig-bundle": {
|
|
"repository": "github.com/symfony/recipes",
|
|
"package": "symfony/twig-bundle",
|
|
"version": "5.0",
|
|
"manifest": {
|
|
"bundles": {
|
|
"Symfony\\Bundle\\TwigBundle\\TwigBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/",
|
|
"templates/": "templates/"
|
|
}
|
|
},
|
|
"files": {
|
|
"templates/base.html.twig": {
|
|
"contents": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"UTF-8\">\n <title>{% block title %}Welcome!{% endblock %}</title>\n {# Run `composer require symfony/webpack-encore-bundle`\n and uncomment the following Encore helpers to start using Symfony UX #}\n {% block stylesheets %}\n {#{{ encore_entry_link_tags('app') }}#}\n {% endblock %}\n\n {% block javascripts %}\n {#{{ encore_entry_script_tags('app') }}#}\n {% endblock %}\n </head>\n <body>\n {% block body %}{% endblock %}\n </body>\n</html>\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"config/packages/twig.yaml": {
|
|
"contents": "twig:\n default_path: '%kernel.project_dir%/templates'\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"config/packages/test/twig.yaml": {
|
|
"contents": "twig:\n strict_variables: true\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "symfony/twig-bundle:5.0@github.com/symfony/recipes:master",
|
|
"is_contrib": false
|
|
}
|
|
}
|
|
} |