aboutsummaryrefslogtreecommitdiffstats
path: root/_includes/post.html
diff options
context:
space:
mode:
author2024-06-21 21:59:53 +0530
committer2024-06-21 21:59:53 +0530
commita190ecdc3f0e06c35b0bfb3ba825a1b29b162f37 (patch)
tree8fef59a521ef25442d0c99c0e24c2e5bb97827d0 /_includes/post.html
parentHot fix (diff)
downloadsudomsg-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 '')
-rw-r--r--_includes/post.html22
1 files changed, 10 insertions, 12 deletions
diff --git a/_includes/post.html b/_includes/post.html
index bbe28d9..baecde7 100644
--- a/_includes/post.html
+++ b/_includes/post.html
@@ -1,21 +1,19 @@
---json
{
-"layout": "base.html",
-"tags": [
-"post"
-]
+"layout": "base"
}
---
-<article itemscope itemtype={% schema "BlogPosting" %}>
- <h1>{{ title }}</h1>
+<article itemscope :itemtype="schema('BlogPosting')">
+ <h1 @text="title"></h1>
<small>
- <time datetime="{{ page.date | htmlDateString }}" itemprop="datePublished">{{ page.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>
+ <time :datetime="htmlDateString(page.date)" itemprop="datePublished"
+ @text="readableDate(page.date)"></time>
+ - <span itemprop="author" itemscope :itemtype="schema('Person')">
+ <a :href="metadata.author.url" rel="author" itemprop="url">
+ <span itemprop="name" @text="metadata.author.name"></span>
</a>
</span>
</small>
- <div temprop: "articleBody">{{ content | safe }}</div>
+ <p><small itemprop="abstract" @content="(description"></small></p>
+ <div itemprop="articleBody" @html="content" />
</article>