26 lines
606 B
Plaintext
26 lines
606 B
Plaintext
extends parts/page
|
|
|
|
block header
|
|
title Posts - Netsoj.nl
|
|
|
|
block sidebar
|
|
|
|
block content
|
|
header
|
|
h1.title Post list
|
|
- import vibe.d;
|
|
- if (articleList.length == 0)
|
|
p No posts found
|
|
- else
|
|
- import nl.netsoj.chris.blog.utils;
|
|
- foreach(article; articleList)
|
|
article
|
|
header
|
|
a(href="/posts/#{article.slug}", rel="bookmark")
|
|
h2.title #{article.title}
|
|
p.subtitle
|
|
| By #{article.author} on #{article.firstPublished.toHumanString}
|
|
- if (article.firstPublished != article.updated)
|
|
|, updated on #{article.updated.toHumanString}
|
|
p #{article.excerpt}…
|