add head and body_end blocks in baseof

This commit is contained in:
Reorx 2022-04-14 00:05:07 +08:00
parent 8a0915bb81
commit a929ca79c9
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<head> <head>
{{- partial "head.html" . }} {{- partial "head.html" . }}
{{- block "head" . }}{{ end }}
</head> </head>
<body class=" <body class="
@ -18,6 +19,7 @@
{{- block "main" . }}{{ end }} {{- block "main" . }}{{ end }}
</main> </main>
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
{{- block "body_end" . }}{{ end }}
</body> </body>
</html> </html>