summaryrefslogtreecommitdiff
path: root/files/index.html
diff options
context:
space:
mode:
authorMitja Felicijan <m@mitjafelicijan.com>2023-07-08 21:26:40 +0200
committerMitja Felicijan <m@mitjafelicijan.com>2023-07-08 21:26:40 +0200
commitd11b6ebe944b13e504608094424217b5d6b39a53 (patch)
tree64559a80cf1c04fadf62f84f88120cdc5742e751 /files/index.html
parent8e83285cc5b36c516880c9e321b86cb78db0d27f (diff)
downloadjbmafp-d11b6ebe944b13e504608094424217b5d6b39a53.tar.gz
First version, whatever that means
Diffstat (limited to 'files/index.html')
-rw-r--r--files/index.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/files/index.html b/files/index.html
new file mode 100644
index 0000000..eeb2641
--- /dev/null
+++ b/files/index.html
@@ -0,0 +1,14 @@
+{{ template "base.html" . }}
+
+{{ define "content" }}
+<div>
+ <h2>Posts</h2>
+ <ul>
+ {{ range .Pages }}
+ {{ if eq .Type "post" }}
+ <li><a href="/{{ .RelPermalink }}">{{ .Title }}</a></li>
+ {{ end }}
+ {{ end }}
+ </ul>
+</div>
+{{ end }}