aboutsummaryrefslogtreecommitdiffstats
path: root/_includes/post.html
diff options
context:
space:
mode:
author2024-04-07 19:43:04 +0530
committer2024-04-07 19:43:04 +0530
commit900a707fdcb04e5739126ec2509fdc39fee7491c (patch)
tree427c9155bcbcca013f4c352888d8d88984e4e027 /_includes/post.html
parent0.5.1 (diff)
downloadsudomsg-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 '_includes/post.html')
-rw-r--r--_includes/post.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/_includes/post.html b/_includes/post.html
new file mode 100644
index 0000000..bbe28d9
--- /dev/null
+++ b/_includes/post.html
@@ -0,0 +1,21 @@
+---json
+{
+"layout": "base.html",
+"tags": [
+"post"
+]
+}
+---
+<article itemscope itemtype={% schema "BlogPosting" %}>
+ <h1>{{ 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>
+ </a>
+ </span>
+ </small>
+ <div temprop: "articleBody">{{ content | safe }}</div>
+</article>