diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-27 11:43:44 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-27 11:43:44 +0800 |
| commit | 6576dc46469cdf1fb25cedf2699fe4ba7002a5ef (patch) | |
| tree | 72562fb357ee9f146933623205f9d779f79f47a8 /layouts/partials | |
| parent | ba9d8499edaddbc7c542a7c543f490fa1bc7c255 (diff) | |
refactor: use define "main" to replace start/end partials
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/snippets/document-end.html | 7 | ||||
| -rw-r--r-- | layouts/partials/snippets/document-start.html | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/layouts/partials/snippets/document-end.html b/layouts/partials/snippets/document-end.html deleted file mode 100644 index 9e4940b1..00000000 --- a/layouts/partials/snippets/document-end.html +++ /dev/null @@ -1,7 +0,0 @@ - </main> - {{ partial "scripts.html" . }} - {{ if .Site.Params.extraBody }} - {{ .Site.Params.extraBody | safeHTML }} - {{ end }} - </body> -</html> diff --git a/layouts/partials/snippets/document-start.html b/layouts/partials/snippets/document-start.html deleted file mode 100644 index 56b12280..00000000 --- a/layouts/partials/snippets/document-start.html +++ /dev/null @@ -1,5 +0,0 @@ -<!DOCTYPE html> -<html lang="{{ .Site.LanguageCode }}" prefix="og: http://ogp.me/ns#"> -{{ partial "head.html" . }} -<body> - <main id="swup" class="transition-fade">
\ No newline at end of file |
