Skip to content

Commit 3e2302d

Browse files
committed
Add attributes to root html element
1 parent cbc99cb commit 3e2302d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

site/lib/src/layouts/dash_layout.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ ga('send', 'pageview');
164164

165165
return Component.fragment(
166166
[
167+
const Document.html(
168+
attributes: {
169+
'lang': 'en',
170+
'dir': 'ltr',
171+
},
172+
),
167173
if (bodyClass != null) Document.body(attributes: {'class': bodyClass}),
168174
if (productionBuild)
169175
raw(

0 commit comments

Comments
 (0)