diff options
author | Alan Pearce | 2017-06-19 21:18:30 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-19 21:18:30 +0200 |
commit | acd2fe16e6323fdf6b6a10f05603c94b3a535fd7 (patch) | |
tree | 4a4c76bc6f56800f8ca2671c2e12a4a694cf70b3 | |
parent | 834b7e0cca76a1e5750434d0db0d29b14d4a7cc4 (diff) | |
download | homestead-acd2fe16e6323fdf6b6a10f05603c94b3a535fd7.tar.lz homestead-acd2fe16e6323fdf6b6a10f05603c94b3a535fd7.tar.zst homestead-acd2fe16e6323fdf6b6a10f05603c94b3a535fd7.zip |
Add some basic HTML
-rw-r--r-- | src/views/index.njk | 10 |
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 %} |