From 345946e3bc6c250646a6a11099a8070c0a999fef Mon Sep 17 00:00:00 2001 From: Stefan Schwoegler Date: Thu, 31 Aug 2017 22:35:29 -0700 Subject: [PATCH] Add post date to blog posts --- .gitignore | 2 ++ _layouts/post.html | 6 ++++-- _strings_en.yml | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ce84d723..e8b7275b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ ietemplates/ _site/* .idea/ +*.swp +tags diff --git a/_layouts/post.html b/_layouts/post.html index 56d09299..1235329a 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -28,7 +28,9 @@ layout: base

{{ page.title }}

-

{% t blog.author %}: {% if page.author %}{{page.author}}{% else %}{{site.author}}{% endif%}

+

{% t blog.author %}: {% if page.author %}{{page.author}}{% else %}{{site.author}}{% endif%}

+

{% t blog.date %} : {{ page.date }}

+
{{content}} @@ -75,4 +77,4 @@ layout: base
- \ No newline at end of file + diff --git a/_strings_en.yml b/_strings_en.yml index 4bf81edb..5e065e8c 100644 --- a/_strings_en.yml +++ b/_strings_en.yml @@ -90,6 +90,7 @@ 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 tags: all: Articles by Tag