45 lines
1.3 KiB
HTML
45 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html {{ if .Lang }}lang="{{.Lang}}"{{ end }}>
|
|
<head>
|
|
{{- partialCached "head.html" . .Description .IsPage .Title }}
|
|
{{- partial "head-custom.html" . -}}
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
|
|
{{ if hugo.IsProduction }}
|
|
{{- partialCached "header.html" . }}
|
|
{{else}}
|
|
{{- partial "header.html" . }}
|
|
{{end}}
|
|
|
|
{{ if hugo.IsProduction }}
|
|
{{- partialCached "nav.html" . .Section .Name }}
|
|
{{else}}
|
|
{{- partial "nav.html" . }}
|
|
{{end}}
|
|
|
|
<main class="page-content">
|
|
{{- block "main" . }}{{- end }}
|
|
</main>
|
|
|
|
{{ if and .Site.Taxonomies "categories" .Site.Params.sidebar }}
|
|
{{ if not (eq (len .Site.Taxonomies.categories) 0) }}
|
|
{{ if hugo.IsProduction }}
|
|
{{- partialCached "aside.html" . .Title }}
|
|
{{else}}
|
|
{{- partial "aside.html" . }}
|
|
{{end}}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ if hugo.IsProduction }}
|
|
{{- partialCached "footer.html" . .Name }}
|
|
{{else}}
|
|
{{- partial "footer.html" . }}
|
|
{{end}}
|
|
</div>
|
|
</body>
|
|
</html>
|