about summary refs log tree commit diff stats
path: root/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/views')
-rw-r--r--src/views/index.njk6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/views/index.njk b/src/views/index.njk
index e5f4034..9a7cc80 100644
--- a/src/views/index.njk
+++ b/src/views/index.njk
@@ -6,7 +6,11 @@
 
   <ul>
     {% for filename, post in posts %}
-      <li>{{ post.data.get('title') }}</li>
+      <li>
+        <a href="{{ router.url('post', post.basename)}}">
+          {{ post.data.get('title') }}
+        </a>
+      </li>
     {% endfor %}
   </ul>