aboutsummaryrefslogtreecommitdiff
path: root/layouts/lists/list.html
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-20 22:35:52 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-20 22:35:52 +0530
commitd26ecb989f5e5b9e06b34c106a3d391fd2910524 (patch)
tree5b2f2391eb682881c90930c040f260854b3f1936 /layouts/lists/list.html
First commit
Diffstat (limited to 'layouts/lists/list.html')
-rw-r--r--layouts/lists/list.html14
1 files changed, 14 insertions, 0 deletions
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" }}
+ <div class="list">
+ <h1>{{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }}</h1>
+ <p>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</p>
+ <ul>
+ {{ range .Pages.ByTitle }}
+ <li>
+ <p><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
+ </li>
+ {{ end }}
+ </ul>
+ </div>
+{{ end }}
+