Since the lang is set by default in the Page component, having the lang set in the index.html template won't work because of the replace function in the loader:
data.replace('<html>', <html ${html}>); => will never work because the index.html<html> element = <html lang="en">
Since the lang is set by default in the Page component, having the lang set in the index.html template won't work because of the replace function in the loader:
data.replace('<html>', <html ${html}>);
=> will never work because theindex.html
<html>
element =<html lang="en">