2020-11-06 22:42:57 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<title>{{ .Title }}</title>
|
|
|
|
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
|
|
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
|
|
|
{{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" (slice "node_modules/myscss")) }}
|
|
|
|
{{ $style := resources.Get "scss/site.scss" | resources.ToCSS $options }}
|
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" media="screen">
|
|
|
|
<link rel="icon" type="image/png" href="/img/favicon.png">
|
|
|
|
<script src="{{ "js/main.js" | relURL }}" type="text/javascript"></script>
|
|
|
|
{{ with .OutputFormats.Get "RSS" -}}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
|
|
|
{{- end }}
|
2021-04-06 17:20:17 +00:00
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
2020-11-06 22:42:57 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{ partial "header" . }}
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
{{ partial "footer" . }}
|
2021-04-06 17:20:17 +00:00
|
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
|
|
|
|
<script type="text/javascript"> docsearch({
|
|
|
|
apiKey: '8f37841a145124eb42a0e3249d49a3c5',
|
|
|
|
indexName: 'pinniped',
|
|
|
|
inputSelector: '.docsearch-input',
|
|
|
|
debug: false // Set debug to true if you want to inspect the dropdown
|
|
|
|
});
|
|
|
|
</script>
|
2020-11-06 22:42:57 +00:00
|
|
|
</body>
|
|
|
|
</html>
|