mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
0f994eee95
fixes #151 anchored-headings: retain anchor link '#' in URL cc #108 footer: remove '#' with go-to-top Revert "anchored-headings: retain anchor link '#' in URL" This reverts commit80954de8bd
. Revert "footer: rm unused code" This reverts commitc76233b350
.
25 lines
574 B
HTML
25 lines
574 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 }}
|
|
</body>
|
|
|
|
</html>
|