File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 10
10
<meta name =" viewport" content =" width=device-width, initial-scale=1" />
11
11
<title >{% block title %}Symfony Demo application{% endblock %}</title >
12
12
<link rel =" alternate" type =" application/rss+xml" title =" {{ ' rss.title' | trans }}" href =" {{ path(' blog_rss' ) }}" >
13
+
14
+ {#
15
+ Those two blocks defines frontend entrypoint for CSS and JavaScript assets
16
+ See https://symfony.com/doc/current/frontend.html
17
+ #}
13
18
{% block stylesheets %}
14
19
{{ encore_entry_link_tags(' app' ) }}
15
20
{% endblock %}
21
+ {% block javascripts %}
22
+ {{ encore_entry_script_tags(' app' ) }}
23
+ {% endblock %}
16
24
17
25
<link rel =" icon" type =" image/x-icon" href =" {{ asset(' favicon.ico' ) }}" />
18
26
</head >
150
158
</footer >
151
159
{% endblock %}
152
160
153
- {% block javascripts %}
154
- {{ encore_entry_script_tags(' app' ) }}
155
- {% endblock %}
156
-
157
161
{# it's not mandatory to set the timezone in localizeddate(). This is done to
158
162
avoid errors when the 'intl' PHP extension is not available and the application
159
163
is forced to use the limited "intl polyfill", which only supports UTC and GMT #}
You can’t perform that action at this time.
0 commit comments