From 34d2020173e05a5c7e77e4729783c7571828e492 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 1 Jun 2024 08:16:46 -0700 Subject: [PATCH] fix: post template --- src/pages/main/posts/post.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/pages/main/posts/post.html diff --git a/src/pages/main/posts/post.html b/src/pages/main/posts/post.html new file mode 100644 index 00000000..b82e1da8 --- /dev/null +++ b/src/pages/main/posts/post.html @@ -0,0 +1,29 @@ +--- +layout: default +pagination: + data: posts + size: 1 + alias: post +permalink: "/posts/{{ post.date | date: '%Y' }}/{{ post.title | slugify | downcase }}/index.html" +schema: blog +--- +{%- capture postUrl %}{{ meta.url }}{{ post.url }}{% endcapture -%} +
+
+
+ {% tablericon "calendar-month" "Date" %} + +
+

{{ post.title }}

+ + +
+ {% render "partials/banners/old-post.liquid", date:post.date %} + {{ post.content | markdown }} +
+
+
+{% render "partials/widgets/mastodon-post.liquid", postUrl:postUrl, linkPosts:linkPosts %} +{% render "partials/widgets/addon-links.liquid", posts:posts, analytics:analytics, links:links %} \ No newline at end of file