aboutsummaryrefslogtreecommitdiffstats
path: root/src/blog.njk
diff options
context:
space:
mode:
Diffstat (limited to 'src/blog.njk')
-rw-r--r--src/blog.njk25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/blog.njk b/src/blog.njk
index f4b9ad5..532d977 100644
--- a/src/blog.njk
+++ b/src/blog.njk
@@ -4,15 +4,16 @@ title: Blog
tags:
- navigator
---
-{% for post in collections.posts %}
-<article>
- <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 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