diff options
author | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2024-04-07 19:43:04 +0530 |
---|---|---|
committer | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2024-04-07 19:43:04 +0530 |
commit | 900a707fdcb04e5739126ec2509fdc39fee7491c (patch) | |
tree | 427c9155bcbcca013f4c352888d8d88984e4e027 /posts.html | |
parent | 0.5.1 (diff) | |
download | sudomsg-900a707fdcb04e5739126ec2509fdc39fee7491c.tar sudomsg-900a707fdcb04e5739126ec2509fdc39fee7491c.tar.gz sudomsg-900a707fdcb04e5739126ec2509fdc39fee7491c.tar.bz2 sudomsg-900a707fdcb04e5739126ec2509fdc39fee7491c.tar.lz sudomsg-900a707fdcb04e5739126ec2509fdc39fee7491c.tar.xz sudomsg-900a707fdcb04e5739126ec2509fdc39fee7491c.tar.zst sudomsg-900a707fdcb04e5739126ec2509fdc39fee7491c.zip |
Rewrote Site in 11ty
Still need to Update the content
Diffstat (limited to 'posts.html')
-rw-r--r-- | posts.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/posts.html b/posts.html new file mode 100644 index 0000000..ccb45b3 --- /dev/null +++ b/posts.html @@ -0,0 +1,28 @@ +---json +{ +"layout": "page.html", +"title": "Posts", +"eleventyNavigation": { +"key": "Posts", +"order": 2 +} +} +--- +<div itemscope itemtype={% schema "Blog" %} role="feed" aria-busy="false"> + {% for post in collections.post %} + <article itemprop="blogPost" itemscope itemtype="{% schema 'BlogPosting' %}" aria-posinset="loop.index" + aria-setsize="loop.lenght"> + <h3 itemprop="headline"><a href="{{ post.url }}" itemprop="sameAs">{{post.title or "p"}}</a></h3> + <small> + <time datetime="{{ post.date | htmlDateString }}" itemprop="datePublished">{{ post.date | + readableDate }}</time> - <span itemprop="author" itemscope + itemtype="{% schema 'Person' %}"> + <a href="{{ metadata.author.url }}" rel="author" itemprop="url"> + <span itemprop="name">{{metadata.author.name}}</span> + </a> + </span> + </small> + <p itemprop="abstract">{{description}} + </article> + {% endfor %} +</div> |