diff options
Diffstat (limited to 'src/blog.njk')
-rw-r--r-- | src/blog.njk | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/blog.njk b/src/blog.njk index d2ac3e7..9bd2a05 100644 --- a/src/blog.njk +++ b/src/blog.njk @@ -4,16 +4,16 @@ title: Blog tags: - navigator --- -<ul style="list-style-type:none"> -{% for post in collections.posts %} -<li> - <h1> - <a href="{{ post.url | url }}">{{ post.data.title }}</a> - </h1> - <small> - <p>{{ metadata.author.name }} - {{ post.data.date | datefmt }}<p> - </small> - <p>{{ post.data.description }}<p> -</li> -{% endfor %} -</ul> +<div role="feed" aria-busy="false"> + {% for post in collections.posts %} + <article aria-posinset="{{ loop.index }}" aria-setsize="{{ loop.size }}"> + <h1> + <a href="{{ post.url | url }}">{{ post.data.title }}</a> + </h1> + <small> + <p>{{ metadata.author.name }} - {{ post.data.date | datefmt }}</p> + </small> + <p>{{ post.data.description }}</p> + </article> + {% endfor %} +</div>
\ No newline at end of file |