mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
![Mehdy Khoshnoody](/assets/img/avatar_default.png)
Usage: in site config: languages: ar: languagedirection: rtl title: مدونتي weight: 2 * ref: https://gohugo.io/content-management/multilingual/#configure-languages
18 lines
574 B
HTML
18 lines
574 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.Language }}" class="direction-{{ .Language.LanguageDirection | default "ltr" }}">
|
|
|
|
<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">
|
|
{{- partialCached "header.html" . .Page}}
|
|
<main class="main">
|
|
{{- block "main" . }}
|
|
{{- end }}
|
|
</main>
|
|
{{- partialCached "footer.html" . .Type }}
|
|
</body>
|
|
|
|
</html> |