2018-01-08 11:28:39 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ .Site.LanguageCode }}">
|
2020-07-20 10:16:12 -04:00
|
|
|
|
|
|
|
<head>
|
2020-07-20 10:43:51 -04:00
|
|
|
{{- partial "head.html" . }}
|
2020-07-20 10:16:12 -04:00
|
|
|
</head>
|
2019-10-16 15:02:35 -04:00
|
|
|
|
2020-07-20 10:16:12 -04:00
|
|
|
<body class="{{ if eq .Kind `page` }}single{{ else }}list{{ if .IsHome }} home{{ end }}{{ end }}">
|
2019-10-15 16:15:16 -04:00
|
|
|
<script>
|
2020-07-20 10:16:12 -04:00
|
|
|
setTheme();
|
2019-10-15 16:15:16 -04:00
|
|
|
</script>
|
2019-03-31 08:32:06 -04:00
|
|
|
<header class="header">
|
2020-07-20 10:16:12 -04:00
|
|
|
<nav class="nav">
|
|
|
|
{{- if .IsHome }}
|
|
|
|
<h1 class="logo"><a href="{{ "" | absURL }}">{{ .Site.Title }}</a></h1>
|
|
|
|
{{- else }}
|
|
|
|
<p class="logo"><a href="{{ "" | absURL }}">{{ .Site.Title }}</a></p>
|
|
|
|
{{- end }}
|
|
|
|
{{- if .Site.Menus.main }}
|
|
|
|
<ul class="menu">
|
|
|
|
{{- range .Site.Menus.main }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
{{- end }}
|
|
|
|
</nav>
|
2019-03-31 08:32:06 -04:00
|
|
|
</header>
|
2020-07-20 10:16:12 -04:00
|
|
|
<main class="main">
|