From d26ecb989f5e5b9e06b34c106a3d391fd2910524 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 20 Sep 2022 22:35:52 +0530 Subject: First commit --- layouts/lists/baseof.html | 11 +++++++++++ layouts/lists/list.html | 14 ++++++++++++++ layouts/lists/single.html | 5 +++++ 3 files changed, 30 insertions(+) create mode 100644 layouts/lists/baseof.html create mode 100644 layouts/lists/list.html create mode 100644 layouts/lists/single.html (limited to 'layouts/lists') diff --git a/layouts/lists/baseof.html b/layouts/lists/baseof.html new file mode 100644 index 0000000..943d948 --- /dev/null +++ b/layouts/lists/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "nav.html" "lists" -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/lists/list.html b/layouts/lists/list.html new file mode 100644 index 0000000..e2bc2e0 --- /dev/null +++ b/layouts/lists/list.html @@ -0,0 +1,14 @@ +{{ define "main" }} +
+

{{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }}

+

These are random lists of stuff by me. These include some recommendations or things I use, maybe some plans as a "public to-do list", etc

+ +
+{{ end }} + diff --git a/layouts/lists/single.html b/layouts/lists/single.html new file mode 100644 index 0000000..f5870e5 --- /dev/null +++ b/layouts/lists/single.html @@ -0,0 +1,5 @@ +{{ define "main" }} +
+ {{ .Content }} +
+{{ end }} -- cgit v1.2.3