aboutsummaryrefslogtreecommitdiffstats
path: root/src/posts.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/posts.html')
-rw-r--r--src/posts.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/posts.html b/src/posts.html
new file mode 100644
index 0000000..fde3bfd
--- /dev/null
+++ b/src/posts.html
@@ -0,0 +1,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>