all repos — archive/homestead @ acd2fe16e6323fdf6b6a10f05603c94b3a535fd7

My future indieweb platform

src/views/index.njk (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
{% extends "layouts/main.njk" %}

{% block body %}

  <h1>hello world</h1>

  <ul>
    {% for filename, post in posts %}
      <li>{{ post.data.get('title') }}</li>
    {% endfor %}
  </ul>

{% endblock %}