Adding a noscript message. Fixes #464

This commit is contained in:
Dessalines 2020-01-25 10:19:37 -05:00
parent 2998957617
commit 3b12f92752

43
ui/src/index.html vendored
View file

@ -1,29 +1,28 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<!-- Required meta tags -->
<meta name="Description" content="Lemmy">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<head> <!-- Icons -->
<!-- Required meta tags --> <link rel="shortcut icon" type="image/svg+xml" href="/static/assets/favicon.svg" />
<meta name="Description" content="Lemmy"> <link rel="apple-touch-icon" href="/static/assets/apple-touch-icon.png" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Icons --> <!-- Styles -->
<link rel="shortcut icon" type="image/svg+xml" href="/static/assets/favicon.svg" /> <link rel="stylesheet" type="text/css" href="/static/assets/css/tribute.css" />
<link rel="apple-touch-icon" href="/static/assets/apple-touch-icon.png" /> <link rel="stylesheet" type="text/css" href="/static/assets/css/toastify.css" />
<link rel="stylesheet" type="text/css" href="/static/assets/css/themes/darkly.min.css" id="darkly" />
<link rel="stylesheet" type="text/css" href="/static/assets/css/main.css" />
<!-- Styles --> <!-- Scripts -->
<link rel="stylesheet" type="text/css" href="/static/assets/css/tribute.css" /> <script async src="/static/assets/libs/sortable/sortable.min.js"></script>
<link rel="stylesheet" type="text/css" href="/static/assets/css/toastify.css" /> </head>
<link rel="stylesheet" type="text/css" href="/static/assets/css/themes/darkly.min.css" id="darkly" />
<link rel="stylesheet" type="text/css" href="/static/assets/css/main.css" />
<!-- Scripts -->
<script async src="/static/assets/libs/sortable/sortable.min.js"></script>
</head>
<body>
<div id="app"></div>
$bundles
</body>
<body>
<noscript>JavaScript is required for this page.</noscript>
<div id="app"></div>
$bundles
</body>
</html> </html>