move-to-top : scroll to body start
This commit is contained in:
parent
e17d61b46c
commit
96d11d0505
@ -6,9 +6,10 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body
|
<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" . }}
|
{{- partial "header.html" . }}
|
||||||
<main class="main" id="top">
|
<main class="main">
|
||||||
{{- block "main" . }}
|
{{- block "main" . }}
|
||||||
{{end }}
|
{{end }}
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user