add meta viewport tag

This commit is contained in:
Cassie Tarakajian 2018-05-02 13:14:05 -07:00
parent 96646d0d73
commit 7b6a755ef4
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ export function get404Sketch(callback) {
html[0] = `
${html[0]}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="p5.js, p5.js web editor, web editor, processing, code editor" />
<meta name="description" content="A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners." />
<title>404 Page Not Found - p5.js Web Editor</title>

View File

@ -7,6 +7,7 @@ export function renderIndex() {
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="p5.js, p5.js web editor, web editor, processing, code editor" />
<meta name="description" content="A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners." />
<title>p5.js Web Editor</title>