Fixes #1192, adds lang=en to all html files

This commit is contained in:
Cassie Tarakajian 2020-01-28 17:12:46 -05:00
parent 8709215758
commit 4e0cafe08f
5 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@ function draw() {
const defaultHTML =
`<!DOCTYPE html>
<html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/addons/p5.sound.min.js"></script>

View file

@ -19,7 +19,7 @@ const clientSecret = process.env.GITHUB_SECRET;
const defaultHTML =
`<!DOCTYPE html>
<html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/addons/p5.dom.min.js"></script>

View file

@ -9,7 +9,7 @@ import Project from '../models/project';
const defaultHTML =
`<!DOCTYPE html>
<html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/addons/p5.sound.min.js"></script>

View file

@ -127,7 +127,7 @@ export function get404Sketch(callback) {
});
} else {
callback(insertErrorMessage(`<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
</head>

View file

@ -2,7 +2,7 @@ export function renderIndex() {
const assetsManifest = process.env.webpackAssets && JSON.parse(process.env.webpackAssets);
return `
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">