aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.gmi3
-rw-r--r--templates/index.gph4
2 files changed, 6 insertions, 1 deletions
diff --git a/templates/index.gmi b/templates/index.gmi
index 33832b1..35bebd4 100644
--- a/templates/index.gmi
+++ b/templates/index.gmi
@@ -1,3 +1,4 @@
# Gemlog Archive
-{{= posts }}
+{{~ posts: post}}
+=> ./{{= post.id }}/{{= post.slug }}.gmi {{= post.title}} {{~}}
diff --git a/templates/index.gph b/templates/index.gph
new file mode 100644
index 0000000..5084284
--- /dev/null
+++ b/templates/index.gph
@@ -0,0 +1,4 @@
+Gemlog Archive
+
+{{~ posts: post}}
+[0|{{= post.title}}|./{{= post.id }}/{{= post.slug }}.gmi|server|port] {{~}}