X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/caf3b78c74be4c0d1e53904aa258fda50e512ef0..ae39b0da12d1d30be8654efa7c04309f0b692570:/layouts/index.html
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..120e05c
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,39 @@
+{{ define "main" }}
+
+
Hello there,
+
+
+
+
+{{ with .Content }}
+{{ . }}
+{{ end }}
+
+Publications
+
+
+Talks & presentations
+
+ {{ if gt (len (where .Pages "Section" "talk")) 0 }}
+ {{ range first 5 (where .Pages "Section" "talk") }}
+ - {{ .Title }}
+ {{ end }}
+ {{ else }}
+ - TODO
+ {{ end }}
+
+
+Recent writings & essays
+
+ {{ if gt (len (where .Pages "Section" "post")) 0 }}
+ {{ range first 5 (where .Pages "Section" "post") }}
+ - {{ .Title }}
+ {{ end }}
+ {{ else }}
+ - TODO
+ {{ end }}
+
+
+{{ end }}