Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (51 sloc) 1.38 KB
<meta charset="utf-8">
<meta
name="viewport"
content="width=device-width, initial-scale=1"
>
{{ with $.Param "description" }}
<meta
name="description"
content="{{ . }}"
>
{{ end }}
<title>{{ .Site.Title }}</title>
<style type="text/css">
{{ with resources.Get "style.scss" | toCSS | minify }}
{{ .Content | safeCSS }}
{{ end }}
/* https://web.dev/font-display */
@font-face {
font-family: 'Roboto', Helvetica, sans-serif;
font-style: normal;
src: local('Roboto'), local('Helvetica'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
font-display: swap;
}
</style>
<!-- https://developers.google.com/web/fundamentals/performance/critical-rendering-path/render-blocking-css -->
{{ $largeStyle := resources.Get "large.scss" | resources.ToCSS }}
<link
rel="stylesheet"
href="{{ $largeStyle.RelPermalink }}"
type="text/css"
media="screen and (min-width: 800px)"
>
{{ $printStyle := resources.Get "print.scss" | resources.ToCSS }}
<link
rel="stylesheet"
href="{{ $printStyle.RelPermalink }}"
type="text/css"
media="print"
>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
>
<!-- https://stackoverflow.com/a/13416784 -->
<link
rel="icon"
href="data:;base64,iVBORw0KGgo="
>
{{ if eq hugo.Environment "production" }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
You can’t perform that action at this time.