|
1 | 1 | <!doctype html>
|
2 |
| -<html> |
| 2 | +<html lang="en"> |
3 | 3 | <head>
|
4 | 4 | <meta charset="utf-8">
|
5 |
| - |
6 | 5 | <title>selfoss</title>
|
7 | 6 |
|
8 |
| - <!-- Will be substituted at request time. --> |
| 7 | + <!-- Dynamic base path --> |
9 | 8 | <base href="@basePath@">
|
10 | 9 |
|
11 | 10 | <meta name="referrer" content="no-referrer" />
|
12 |
| - |
13 |
| - <!-- Mobile viewport optimized: j.mp/bplateviewport --> |
14 |
| - <meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1" /> |
15 |
| - |
16 |
| - <!-- Add support for fullscreen Webapp on iPhone 5 --> |
17 |
| - <meta name="viewport" content="initial-scale=1, user-scalable=yes" media="(device-height: 568px)" /> |
18 |
| - |
19 |
| - <!-- Web application behavior --> |
| 11 | + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" /> |
| 12 | + |
| 13 | + <!-- Progressive Web App (PWA) Compatibility --> |
20 | 14 | <meta name="application-name" content="selfoss" />
|
21 | 15 | <meta name="apple-mobile-web-app-capable" content="yes" />
|
22 | 16 | <meta name="mobile-web-app-capable" content="yes" />
|
23 |
| - |
24 |
| - <!-- icons --> |
25 |
| - <link rel="apple-touch-icon-precomposed" href="images/icon-128x128.png" /> |
26 |
| - <link rel="icon" type="image/png" href="images/icon-32x32.png" /> |
27 |
| - <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" /> |
28 |
| - |
29 |
| - <!-- Toolbar color from Chrome for Android --> |
30 | 17 | <meta name="theme-color" content="#191718" />
|
31 | 18 |
|
32 |
| - <!-- all css definitions --> |
33 |
| - <link rel="stylesheet" href="styles/main.scss" /> |
| 19 | + <!-- Icons --> |
| 20 | + <link rel="apple-touch-icon" href="images/icon-128x128.png" /> |
| 21 | + <link rel="icon" type="image/png" href="images/icon-32x32.png" /> |
| 22 | + <link rel="shortcut icon" href="images/favicon.ico" /> |
| 23 | + |
| 24 | + <!-- CSS Styles --> |
| 25 | + <link rel="stylesheet" href="styles/main.css" /> |
34 | 26 |
|
35 |
| - <!-- web application manifest --> |
| 27 | + <!-- Web Manifest --> |
36 | 28 | <link rel="manifest" href="selfoss.webmanifest">
|
37 | 29 | </head>
|
38 | 30 | <body>
|
39 |
| - <p id="js-loading-message">selfoss requires JavaScript to run, please enable it on this page.</p> |
| 31 | + <noscript><p>selfoss requires JavaScript to run. Please enable it to continue.</p></noscript> |
| 32 | + |
| 33 | + <p id="js-loading-message" aria-live="polite">selfoss is still loading, please wait.</p> |
40 | 34 |
|
41 |
| - <script type="text/javascript"> |
| 35 | + <script> |
42 | 36 | document.getElementById('js-loading-message').textContent = 'selfoss is still loading, please wait.';
|
43 | 37 | </script>
|
44 | 38 |
|
45 |
| - <script src="js/index.js" onerror="document.getElementById('js-loading-message').textContent = 'Error loading selfoss JavaScript file. Please check the browser console or your web server logs.'" type="module"></script> |
| 39 | + <script src="js/index.js" type="module" async onerror="document.getElementById('js-loading-message').textContent = 'Error loading selfoss JavaScript. Check console or server logs.'"></script> |
46 | 40 | </body>
|
47 | 41 | </html>
|
0 commit comments