2020-09-01 00:03:58 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ .Site.LanguageCode }}"><!DOCTYPE html>
|
|
|
|
|
|
|
|
<head>
|
2021-03-03 16:29:15 +01:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
{{ $style := resources.Get "css/main.scss" | toCSS | minify | fingerprint }}
|
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" />
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap" rel="stylesheet">
|
|
|
|
{{ if .Site.Params.useFontAwesome }}
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog==" crossorigin="anonymous" />
|
|
|
|
{{ end }}
|
|
|
|
{{ range .Site.Params.css }}
|
|
|
|
{{ $style := resources.Get (printf "css/%s" .) }}
|
|
|
|
{{ if $style }}
|
|
|
|
<link rel="stylesheet" href="{{ ($style | toCSS | minify | fingerprint).Permalink }}" />
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
<title itemprop="name">{{ .Site.Title }}</title>
|
2020-09-01 00:03:58 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2021-03-03 16:29:15 +01:00
|
|
|
<main class="paper">
|
|
|
|
<div class="grid">
|
|
|
|
<header class="flex-row">
|
|
|
|
{{ partial "header" (dict "Header" .Site.Params.header "Data" .Site.Data "useFontAwesome" .Site.Params.useFontAwesome) }}
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{ range first 1 .Site.Params.pages }}
|
|
|
|
<div class="left-column">
|
|
|
|
{{ range .features }}
|
|
|
|
{{ partial "section" (dict "Feature" . "Data" $.Site.Data "useFontAwesome" $.Site.Params.useFontAwesome) }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<div class="right-column">
|
|
|
|
{{ range .Site.Params.side }}
|
|
|
|
{{ partial "section" (dict "Feature" . "Data" $.Site.Data "useFontAwesome" $.Site.Params.useFontAwesome) }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
{{ range after 1 .Site.Params.pages }}
|
|
|
|
<article class="paper">
|
|
|
|
{{ range .features }}
|
|
|
|
{{ partial "section" (dict "Feature" . "Data" $.Site.Data "useFontAwesome" $.Site.Params.useFontAwesome) }}
|
|
|
|
{{ end }}
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if .Site.Params.footer.show }}
|
|
|
|
<footer>
|
|
|
|
{{ partial "footer" (dict "Footer" .Site.Params.footer "useFontAwesome" .Site.Params.useFontAwesome) }}
|
|
|
|
</footer>
|
|
|
|
{{ end }}
|
2020-09-01 00:03:58 +02:00
|
|
|
</body>
|
2021-03-03 16:29:15 +01:00
|
|
|
</html>
|