From 0a267e4172dc893963feb27fc5d1f405f9e6d7b1 Mon Sep 17 00:00:00 2001 From: sijanec Date: Thu, 5 Nov 2020 18:44:37 +0100 Subject: initial commit --- _layouts/post.html | 23 +++++++++++++++++++++++ 1 file changed, 23 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..4e63808 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,23 @@ +--- +layout: default +--- +

+ {{ page.title }} +

+

+ {{ page.date | date: site.short_date_format }} + {% assign author = site.authors | where: 'short_name', page.author | first %} + {% assign anon = site.authors | where: 'short_name', "anonymous" | first %} + - + {% if author %} + + {{ author.name }} + + {% else %} + + {{ anon.name }} + + {% endif %} +

+ +{{ content }} -- cgit v1.2.3