From 3689740b0d8d619d1810cbf65808fc9f7bf01e4a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 22 Oct 2019 17:38:30 +0200 Subject: Add modified_at info at the post layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At the bottom of every blog post, there will now be a small text containing: 1. The localized date of the last modified time the blog post was modified (taking Git as a reference). 2. A link to the log at git.mssola.com for the given file. This way readers have a better understanding of the versioning of a given page. Signed-off-by: Miquel Sabaté Solà --- _layouts/post.html | 1 + 1 file changed, 1 insertion(+) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index 8a8eb68..1adc02b 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -11,6 +11,7 @@ layout: default {{ content }}
+

{% t blog.modified_at %}: {% render_modified_at %}. {% t blog.you_can_check %} {% render_log_link %}.

{% t blog.notice %} Creative Commons BY-ND 4.0. -- cgit v1.2.3