From 5066fbedd5b92797ceca9f6841785ee03b362a57 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sat, 25 Oct 2025 15:29:33 +0800 Subject: Add post layout. --- _layouts/post.html | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 _layouts/post.html (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..0b25d7c --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,43 @@ + + + + + {{ page.title }} + {% include header.html %} + + + + {% include nav.html %} + +
+
+ +

[ No{% for post in site.posts %} + {% if post.title == page.title %} + {{ forloop.index | roman }} + {% endif %} + {% endfor %} ] +  {{ page.keywords }}

+ + +

{{ page.title | upcase }}

+ {% if page.abstract %}
{{ page.abstract }}
{% endif %} + {% if page.category %} + +

{{ page.category }}

+ + {% endif %} +
+

{{ site.location | upcase }}

+
{{ page.date | date_to_long_string | upcase }}
+ +
+ {{ content }} +
+ +

by {{ page.author }}

+
+
+ + + -- cgit v1.2.3