hugo-WonderMod/layouts/_default/baseof.html
Aditya Telange e35915a561
support Multilingual navigation
add reading time as i18n
2020-08-25 14:04:59 +05:30

19 lines
480 B
HTML

<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
<head>
{{- partial "head.html" . }}
</head>
<body
class="{{ if (and (eq .Kind `page` ) (ne .Layout `archives`)) }}single{{ else }}list{{ if .IsHome }} home {{ end }}{{ end }}{{ if eq $.Site.Params.defaultTheme `dark` }} dark {{ end }}"
id="top">
{{- partial "header.html" . }}
<main class="main">
{{- block "main" . }}
{{end }}
</main>
{{- partial "footer.html" . }}
</body>
</html>