From fda7401e0545e8a0df79d3cf2fdd05085f7bc412 Mon Sep 17 00:00:00 2001 From: erciccione Date: Mon, 24 Feb 2020 17:20:06 +0100 Subject: [PATCH] Blog: add posts date, author and nicer category visualization for 'All Posts' and tagged categories --- _i18n/en.yml | 1 - _layouts/blog_by_tag.html | 4 ++++ blog/index.html | 6 ++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/_i18n/en.yml b/_i18n/en.yml index 83385e96..dfe8cc75 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -680,7 +680,6 @@ blog: title_1: All title_2: Blog title_3: Posts - tagged: Tagged under author: Posted by date: Posted at forum: Click here to join the discussion for this entry on the Monero Forum diff --git a/_layouts/blog_by_tag.html b/_layouts/blog_by_tag.html index cc678f79..7d1b7bed 100644 --- a/_layouts/blog_by_tag.html +++ b/_layouts/blog_by_tag.html @@ -28,6 +28,10 @@ layout: custom

{{ post.summary }}

+

+ {% t blog.author %} {{ post.author }} | {{ post.date | date: "%-d %B %Y" }} + +

{% endfor %} {% else %} diff --git a/blog/index.html b/blog/index.html index a88db3b0..670b1fd1 100644 --- a/blog/index.html +++ b/blog/index.html @@ -16,9 +16,11 @@ title: titles.allposts {{ post.summary }}

- {% t blog.tagged %}: + + {% t blog.author %} {{ post.author }} | {{ post.date | date: "%-d %B %Y" }}
+ Category: {% for tag in post.tags %} - [{{ tag }}] + {{ tag }} {% endfor %}