Skip to content

Commit 51779f2

Browse files
authored
Fix inertia ssr head parsing
Inertia SSR returns a list of head tags. This change loops through the values to print them.
1 parent 2083a90 commit 51779f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inertia/templates/inertia_ssr.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends inertia_layout %}
22

3-
{% block inertia_head %}{{head|safe}}{% endblock inertia_head %}
3+
{% block inertia_head %}{% for tag in head %}{{tag|safe}}{% endfor %}{% endblock inertia_head %}
44

55
{% block inertia %}{{body|safe}}{% endblock inertia %}

0 commit comments

Comments
 (0)