aboutsummaryrefslogtreecommitdiffstats
path: root/includes/post.html
diff options
context:
space:
mode:
author2024-06-24 13:36:19 +0530
committer2024-06-24 13:38:02 +0530
commit828b9b153804a0f590522d1f0df0db4eb00e3ed0 (patch)
tree634c1c85356eb40920c85600b4f3785456859266 /includes/post.html
parentCI: Fixed CI (diff)
downloadsudomsg-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 'includes/post.html')
-rw-r--r--includes/post.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/includes/post.html b/includes/post.html
new file mode 100644
index 0000000..baecde7
--- /dev/null
+++ b/includes/post.html
@@ -0,0 +1,19 @@
+---json
+{
+"layout": "base"
+}
+---
+<article itemscope :itemtype="schema('BlogPosting')">
+ <h1 @text="title"></h1>
+ <small>
+ <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>
+ <p><small itemprop="abstract" @content="(description"></small></p>
+ <div itemprop="articleBody" @html="content" />
+</article>