diff options
author | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2024-06-21 21:59:53 +0530 |
---|---|---|
committer | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2024-06-21 21:59:53 +0530 |
commit | a190ecdc3f0e06c35b0bfb3ba825a1b29b162f37 (patch) | |
tree | 8fef59a521ef25442d0c99c0e24c2e5bb97827d0 /posts.html | |
parent | Hot fix (diff) | |
download | sudomsg-a190ecdc3f0e06c35b0bfb3ba825a1b29b162f37.tar sudomsg-a190ecdc3f0e06c35b0bfb3ba825a1b29b162f37.tar.gz sudomsg-a190ecdc3f0e06c35b0bfb3ba825a1b29b162f37.tar.bz2 sudomsg-a190ecdc3f0e06c35b0bfb3ba825a1b29b162f37.tar.lz sudomsg-a190ecdc3f0e06c35b0bfb3ba825a1b29b162f37.tar.xz sudomsg-a190ecdc3f0e06c35b0bfb3ba825a1b29b162f37.tar.zst sudomsg-a190ecdc3f0e06c35b0bfb3ba825a1b29b162f37.zip |
Update deps and updated the about page.
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
modified: 404.html
modified: _includes/base.html
new file: _includes/main.css
modified: _includes/page.html
modified: _includes/post.html
modified: about.html
deleted: assets/main.css
deleted: atom.xml.njk
modified: eleventy.config.js
modified: index.html
modified: package-lock.json
modified: package.json
modified: posts.html
modified: posts/posts.11tydata.js
Diffstat (limited to 'posts.html')
-rw-r--r-- | posts.html | 27 |
1 files changed, 12 insertions, 15 deletions
@@ -1,6 +1,6 @@ ---json { -"layout": "page.html", +"layout": "page", "title": "Posts", "eleventyNavigation": { "key": "Posts", @@ -8,21 +8,18 @@ } } --- -<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> +<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="{{ 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> + <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">{{description}} + <p itemprop="abstract" @text="post.data.description"></p> </article> - {% endfor %} </div> |