mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
move-to-top : scroll to body start
This commit is contained in:
parent
e17d61b46c
commit
96d11d0505
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user