pinafore/templates/2xx.html

37 lines
1.1 KiB
HTML
Raw Normal View History

2018-01-07 00:51:25 +01:00
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
2018-01-11 05:45:02 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2018-01-08 00:11:17 +01:00
<meta name='theme-color' content='#4169e1'>
2018-01-07 00:51:25 +01:00
<link rel='stylesheet' href='/global.css'>
<link rel='manifest' href='/manifest.json'>
<link rel='icon' type='image/png' href='/favicon.png'>
<script>
2018-01-08 07:38:41 +01:00
if (!location.origin.match('localhost') && 'serviceWorker' in navigator) {
2018-01-07 00:51:25 +01:00
navigator.serviceWorker.register('/service-worker.js');
}
</script>
<!-- Sapper generates a <style> tag containing critical CSS
for the current page. CSS for the rest of the app is
lazily loaded when it precaches secondary pages -->
%sapper.styles%
<!-- This contains the contents of the <:Head> component, if
the current page has one -->
%sapper.head%
</head>
<body>
<!-- The application will be rendered inside this element,
because `templates/main.js` references it -->
<div id='sapper'>%sapper.html%</div>
<!-- Sapper creates a <script> tag containing `templates/main.js`
and anything else it needs to hydrate the app and
initialise the router -->
<script src='%sapper.main%'></script>
</body>
</html>