<!DOCTYPE html>
<html class="no-js" {{ site.language_attributes }}>
<head>
	<meta charset="{{ site.charset }}">
	<meta http-equiv="x-ua-compatible" content="ie=edge">
	<meta name="description" content="{{ site.description }}">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="author" content="Yes We Work - http://yeswework.com/">
	{{ function('wp_head') }}
</head>

<body class="{{ body_class }}">

	{% block header %}
		<header class="siteHeader">
			<a class="siteHeader__logo" href="{{ site.url }}">{{ site.name }}</a>
			<nav class="siteHeader__menu mainMenu">
				<h1 class="hidden">Main menu</h1>
				<ul class="mainMenu__list">
					{% for item in menus.main.get_items %}
						<li class="mainMenu__item{{ item.classes | join(' ') }}"><a class="mainMenu__link" href="{{ item.get_link }}">{{ item.title }}</a></li>
					{% endfor %}
				</ul>
			</nav>
		</header>
	{% endblock %}

	{% block content %}

	{% endblock %}

	{% block footer %}
		<footer>
			{{ function('wp_footer') }}
		</footer>
	{% endblock %}

</body>
</html>

<!DOCTYPE html>
<html class="no-js" lang="{{ site.language }}">
<head>
	<meta charset="{{ site.charset }}">
	<meta http-equiv="x-ua-compatible" content="ie=edge">
	<meta name="description" content="{{ site.description }}">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="author" content="Yes We Work - http://yeswework.com/">
	{{ function('wp_head') }}
</head>

<body class="{{ body_class }}">

	{% block header %}
		<header class="siteHeader">
			<a class="siteHeader__logo" href="{{ site.url }}">{{ site.name }}</a>
			<nav class="siteHeader__menu mainMenu">
				<h1 class="hidden">Main menu</h1>
				<ul class="mainMenu__list">
					{% for item in menus.main.get_items %}
						<li class="mainMenu__item{{ item.classes | join(' ') }}"><a class="mainMenu__link" href="{{ item.get_link }}">{{ item.title }}</a></li>
					{% endfor %}
				</ul>
			</nav>
		</header>
	{% endblock %}

	{% block content %}

	{% endblock %}

	{% block footer %}
		<footer>
			{{ function('wp_footer') }}
		</footer>
	{% endblock %}

</body>
</html>

Move Twig code with html element to attribute value
Move Twig code with html element to attribute value
