27 lines
613 B
Plaintext
27 lines
613 B
Plaintext
|
extends /parts/page.dt
|
||
|
|
||
|
block header
|
||
|
title Posts - Netsoj.nl
|
||
|
|
||
|
block sidebar
|
||
|
include /parts/menu.dt
|
||
|
|
||
|
block content
|
||
|
header
|
||
|
h1.title Post list
|
||
|
- import vibe.d;
|
||
|
- if (articleList.length == 0)
|
||
|
p No posts found
|
||
|
- else
|
||
|
- import 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}…
|