diff options
Diffstat (limited to 'src/blog.njk')
-rw-r--r-- | src/blog.njk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/blog.njk b/src/blog.njk new file mode 100644 index 0000000..9998e70 --- /dev/null +++ b/src/blog.njk @@ -0,0 +1,17 @@ +--- +layout: base +title: Blog +--- +<div role="feed" aria-busy="false"> +{% for post in collections.posts %} + <article aria-posinset="{{loop.index}}" aria-setsize="{{loop.len}}"> + <h1> + <a href="{{post.url}}">{{post.data.title}}</a> + </h1> + <small> + <time datetime="{{page.date.toISOString()}}">{{page.date.toDateString()}}</time> - <a rel=author href="{{metadata.author.url}}">{{ metadata.author.name }}</a> + </small> + <p>{{post.data.description}}</p> + </article> +{% endfor %} +</div> |