Skip to content

Instantly share code, notes, and snippets.

@evdama
Created July 15, 2019 04:34
Show Gist options
  • Select an option

  • Save evdama/1260d28346515dc427187963f320be50 to your computer and use it in GitHub Desktop.

Select an option

Save evdama/1260d28346515dc427187963f320be50 to your computer and use it in GitHub Desktop.
CDN link for google fonts inside <head>
<!DOCTYPE html>
<html lang="en" class="font-montserrat">
<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 href="https://fonts.googleapis.com/css?family=Montserrat:400,700,900|Roboto:400,500&display=swap" rel="stylesheet">
<!-- <link rel='stylesheet' href='main.css'> -->
<link rel='stylesheet' href='global.css'>
<link rel='manifest' href='manifest.json'>
<link rel='icon' type='image/png' href='favicon.png'>
<!-- 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>
<!-- The application will be rendered inside this element,
because `app/client.js` references it -->
<div class="container mt-10">
<div id='sapper'>%sapper.html%</div>
</div>
<!-- Sapper creates a <script> tag containing `app/client.js`
and anything else it needs to hydrate the app and
initialise the router -->
%sapper.scripts%
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment