diff options
Diffstat (limited to 'src/template.html')
-rw-r--r-- | src/template.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/template.html b/src/template.html new file mode 100644 index 0000000..f7382aa --- /dev/null +++ b/src/template.html @@ -0,0 +1,35 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width,initial-scale=1.0"> + <meta name="theme-color" content="#333333"> + + %sapper.base% + + <link rel="stylesheet" href="index.css"> + <link rel="manifest" href="manifest.json" crossorigin="use-credentials"> + <link rel="icon" type="image/png" href="favicon.png"> + <script src="https://kit.fontawesome.com/9fa565d9ec.js" crossorigin="anonymous"></script> + + <!-- Sapper creates a <script> tag containing `src/client.js` + and anything else it needs to hydrate the app and + initialise the router --> + %sapper.scripts% + + <!-- 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 <svelte:head> component, if + the current page has one --> + %sapper.head% +</head> +<body> + <div id="svelte" class="app"> + %sapper.html% + </div> + <!-- <div id="sapper">%sapper.html%</div> --> +</body> +</html> |