diff options
author | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2024-06-24 13:36:19 +0530 |
---|---|---|
committer | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2024-06-24 13:38:02 +0530 |
commit | 828b9b153804a0f590522d1f0df0db4eb00e3ed0 (patch) | |
tree | 634c1c85356eb40920c85600b4f3785456859266 /src/posts.html | |
parent | CI: Fixed CI (diff) | |
download | sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.gz sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.bz2 sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.lz sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.xz sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.zst sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.zip |
Rearranged the project layout
Diffstat (limited to 'src/posts.html')
-rw-r--r-- | src/posts.html | 25 |
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> |