Blog: add posts date, author and nicer category visualization

See merge request monero-project/monero-site!1228
This commit is contained in:
luigi1111 2020-02-27 22:29:00 +01:00
commit 6c1c7f7159
3 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -28,6 +28,10 @@ layout: custom
<p>
{{ post.summary }}
</p>
<p><small>
{% t blog.author %} {{ post.author }} | {{ post.date | date: "%-d %B %Y" }}
</small>
</p>
</div>
{% endfor %}
{% else %}

View file

@ -16,9 +16,11 @@ title: titles.allposts
{{ post.summary }}
</p>
<p>
<small>{% t blog.tagged %}:
<small>
{% t blog.author %} {{ post.author }} | {{ post.date | date: "%-d %B %Y" }}<br>
Category:
{% for tag in post.tags %}
<a href="/blog/tags/{{ tag }}.html">[{{ tag }}]</a>
<a href="/blog/tags/{{ tag }}.html">{{ tag }}</a>
{% endfor %}
</small>
</p>