2022-03-29 22:52:36 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name=”robots” content="index,follow">
|
2022-04-07 15:52:18 +00:00
|
|
|
{{ with resources.Get "favicon.ico" | resources.Fingerprint }}
|
|
|
|
<link rel="icon" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" />
|
|
|
|
{{ end }}
|
2022-03-29 22:52:36 +00:00
|
|
|
{{ block "meta" . }}
|
2022-04-07 15:52:18 +00:00
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
2022-03-29 22:52:36 +00:00
|
|
|
{{ end }}
|
|
|
|
<meta name="twitter:card" content="summary">
|
|
|
|
<meta property="og:title" content="{{ site.Title }}" />
|
|
|
|
<meta property="og:url" content="{{ site.BaseURL }}" />
|
|
|
|
<meta property="og:site_name" content="{{ site.Title }}" />
|
|
|
|
<!-- <meta property="og:image" content=""> -->
|
|
|
|
{{ range .AlternativeOutputFormats -}}
|
2022-04-07 15:52:18 +00:00
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
2022-03-29 22:52:36 +00:00
|
|
|
{{ end -}}
|
|
|
|
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.1/css/bootstrap.min.css' crossorigin='anonymous'>
|
|
|
|
{{ if isset .Params "title" }}
|
2022-04-07 15:52:18 +00:00
|
|
|
<title>{{ site.Title }} - {{ .Title }}</title>
|
2022-03-29 22:52:36 +00:00
|
|
|
{{ else }}
|
2022-04-07 15:52:18 +00:00
|
|
|
<title>{{ site.Title }}</title>
|
2022-03-29 22:52:36 +00:00
|
|
|
{{ end }}
|
2022-04-07 15:52:18 +00:00
|
|
|
{{ if .Description }}
|
|
|
|
<meta name='description' content='{{ .Description }}'>
|
2022-03-29 22:52:36 +00:00
|
|
|
{{ end }}
|
2022-04-07 15:52:18 +00:00
|
|
|
{{ block "head" . }}{{ end }}
|
2022-03-30 15:06:21 +00:00
|
|
|
{{ if .Param "chroma" }}
|
2022-04-07 15:52:18 +00:00
|
|
|
{{ with resources.Get "chroma.css" | resources.Minify | resources.Fingerprint }}
|
|
|
|
<link href='{{ .Rel }}' integrity="{{ .Data.Integrity }}" rel='stylesheet'>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ with resources.Get "main.scss" | resources.ToCSS (dict "outputStyle" "expanded" "enableSourceMap" false) | resources.Fingerprint }}
|
|
|
|
<link href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" rel="stylesheet">
|
2022-03-30 15:06:21 +00:00
|
|
|
{{ end }}
|
2022-03-29 22:52:36 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
2022-04-07 15:52:18 +00:00
|
|
|
{{ partial "nav.html" . }}
|
2022-03-29 22:52:36 +00:00
|
|
|
</header>
|
|
|
|
<div id="content">
|
2022-03-30 15:06:21 +00:00
|
|
|
<main>
|
|
|
|
{{ if .Param "toc" }}
|
|
|
|
<div class='row'>
|
|
|
|
<div class='col-md-2'>
|
|
|
|
{{ partial "toc.html" . }}
|
|
|
|
</div>
|
|
|
|
<div class='col-md-10'>
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ else }}
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</main>
|
2022-03-29 22:52:36 +00:00
|
|
|
</div>
|
|
|
|
<!-- {{ partial "i18n/list.html" . }} -->
|
|
|
|
<footer>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
{{ block "bottom" . }}{{ end }}
|
|
|
|
</html>
|