aboutsummaryrefslogtreecommitdiffstats
path: root/src/posts.html
blob: fde3bfd711d0d17269d764ed8d17f1c62605ff89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---json
{
"layout": "page",
"title": "Posts",
"eleventyNavigation": {
"key": "Posts",
"order": 2
}
}
---
<div itemscope :itemtype="schema('Blog')" role="feed" aria-busy="false" webc:for="(post, index) of collections.post">
	<article itemprop="blogPost" itemscope :itemtype="schema('BlogPosting')" :aria-posinset="index"
		:aria-setsize="collections.post.lenght">
		<h3 itemprop="headline"><a :href="post.url" itemprop="sameAs" @text="post.data.title"></a></h3>
		<small>
			<time :datetime="htmlDateString(post.date)" itemprop="datePublished"
				@text="readableDate(post.date)"></time> -
			<span itemprop=" author" itemscope :itemtype="schema('Person')"></span>
			<a :href="metadata.author.url" rel="author" itemprop="url">
				<span itemprop="name" @text="metadata.author.name">
			</a>
		</small>
		<p itemprop="abstract" @text="post.data.description"></p>
	</article>
</div>