about summary refs log tree commit diff stats
path: root/src/views
diff options
context:
space:
mode:
authorAlan Pearce2017-06-19 21:18:30 +0200
committerAlan Pearce2017-06-19 21:18:30 +0200
commitacd2fe16e6323fdf6b6a10f05603c94b3a535fd7 (patch)
tree4a4c76bc6f56800f8ca2671c2e12a4a694cf70b3 /src/views
parent834b7e0cca76a1e5750434d0db0d29b14d4a7cc4 (diff)
downloadhomestead-acd2fe16e6323fdf6b6a10f05603c94b3a535fd7.tar.lz
homestead-acd2fe16e6323fdf6b6a10f05603c94b3a535fd7.tar.zst
homestead-acd2fe16e6323fdf6b6a10f05603c94b3a535fd7.zip
Add some basic HTML
Diffstat (limited to 'src/views')
-rw-r--r--src/views/index.njk10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/views/index.njk b/src/views/index.njk
index 1bf275e..e5f4034 100644
--- a/src/views/index.njk
+++ b/src/views/index.njk
@@ -2,10 +2,12 @@
 
 {% block body %}
 
-hello world
+  <h1>hello world</h1>
 
-{% for filename, post in posts %}
-  {{ post.data.get('title') }}
-{% endfor %}
+  <ul>
+    {% for filename, post in posts %}
+      <li>{{ post.data.get('title') }}</li>
+    {% endfor %}
+  </ul>
 
 {% endblock %}