diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-17 17:10:16 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-17 17:10:16 +0530 |
commit | 00ad5932d73fca7ec60acf5a6fa64bab6fed0224 (patch) | |
tree | 3dda32d83083abc381780060ac3a65de29d303ef /layouts/_default |
first commit
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 11 | ||||
-rw-r--r-- | layouts/_default/list.html | 6 | ||||
-rw-r--r-- | layouts/_default/single.html | 3 |
3 files changed, 20 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..a11fb92 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html lang="{{ .Site.LanguageCode }}"> + {{- partial "head.html" . -}} + <body> + {{- partial "header.html" . -}} + + <main> + {{- block "main" . }}{{- end }} + </main> + </body> +</html> diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..6d9af48 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,6 @@ +{{ define "main" }} + {{ .Content }} + {{ range .Pages.ByDate.Reverse }} + {{ partial "release-wrapper.html" . }} + {{ end }} +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..84748f6 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ partial "release.html" . }} +{{ end }} |