move-to-top : scroll to body start

This commit is contained in:
Aditya Telange 2020-08-21 21:13:13 +05:30
parent e17d61b46c
commit 96d11d0505
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 3 additions and 2 deletions

View File

@ -6,9 +6,10 @@
</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 }}">
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" id="top">
<main class="main">
{{- block "main" . }}
{{end }}
</main>