You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" />
{{ with .OutputFormats.Get "RSS" }}
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
{{ end }}
<title>{{ .Title }}</title>
{{ $style := resources.Get (printf "css/colors-%s.scss" (.Site.Params.scheme | default "dark")) | toCSS | minify | fingerprint }}
<link rel="preload" href="{{ $style.Permalink }}" as="style">
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ partial "head.html" . }}
</head>
<body>
<div class="container">
<header id="header">
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</header>
<div id="center">
<div id="sidebar">
{{ partial "navigation.html" . }}
</div>
<div id="content">
{{ block "main" . }}{{ end }}
</div>
</div>
<footer id="footer">
{{ partial "foot.html" . }}
</footer>
</div>
</body>
</html>