mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-26 23:15:53 -05:00
e252e761f5
usage => in site config => params: assets: disableHLJS: true per-page in front-matter => disableHLJS: true
25 lines
590 B
HTML
25 lines
590 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
|
|
|
<head>
|
|
{{- partial "head.html" . }}
|
|
</head>
|
|
|
|
<body class="
|
|
{{- if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) -}}
|
|
{{- print "list" -}}
|
|
{{- end -}}
|
|
{{- if eq $.Site.Params.defaultTheme `dark` -}}
|
|
{{- print " dark" }}
|
|
{{- end -}}
|
|
" id="top">
|
|
{{- partialCached "header.html" . .Page}}
|
|
<main class="main">
|
|
{{- block "main" . }}
|
|
{{- end }}
|
|
</main>
|
|
{{- partialCached "footer.html" . .Type .Layout .Params }}
|
|
</body>
|
|
|
|
</html>
|