page: make html biblically correct

This commit is contained in:
wukko 2024-01-14 22:40:41 +06:00
parent 0c39102b3c
commit 1672901bad

View file

@ -70,10 +70,9 @@ export default function(obj) {
<link rel="manifest" href="manifest.webmanifest" />
<link rel="stylesheet" href="fonts/notosansmono.css" rel="preload" />
<link rel="stylesheet" href="cobalt.css" />
<noscript><div style="margin: 2rem;">${t('NoScriptMessage')}</div></noscript>
</head>
<body id="cobalt-body" ${platform === "d" ? 'class="desktop"' : ''} data-nosnippet ontouchstart>
<noscript>${t('NoScriptMessage')}</noscript>
${multiPagePopup({
name: "about",
closeAria: t('AccessibilityGoBack'),
@ -609,7 +608,6 @@ export default function(obj) {
}])}
</footer>
</div>
</body>
<script type="text/javascript">
let defaultApiUrl = '${process.env.apiURL ? process.env.apiURL : ''}';
const loc = ${webLoc(t,
@ -635,6 +633,7 @@ export default function(obj) {
])}
</script>
<script type="text/javascript" src="cobalt.js"></script>
</body>
</html>
`
} catch (err) {