From 2858f82b3aef8664b8b589044d7f0b77d5258ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Dellac=C3=A0?= Date: Sun, 3 Jan 2021 15:56:27 +0100 Subject: [PATCH] Start implementing post info at bottom Now, all posts show info about: author, updated date, tags. However, styling is needed and also the tags part has to be fixed (we need to add a comma after every tag's name, excluding the last one) --- partials/post-card-big.hbs | 2 +- partials/post-card-small.hbs | 4 ++-- post.hbs | 15 ++++++++++++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/partials/post-card-big.hbs b/partials/post-card-big.hbs index 05d063c..9e465b7 100644 --- a/partials/post-card-big.hbs +++ b/partials/post-card-big.hbs @@ -10,7 +10,7 @@

{{primary_tag.name}} • - +

{{title}}

diff --git a/partials/post-card-small.hbs b/partials/post-card-small.hbs index 9577f73..905e62d 100644 --- a/partials/post-card-small.hbs +++ b/partials/post-card-small.hbs @@ -12,8 +12,8 @@

{{primary_tag.name}} • - +

{{title}}
diff --git a/post.hbs b/post.hbs index 6cd84c3..4894d83 100755 --- a/post.hbs +++ b/post.hbs @@ -5,7 +5,7 @@

{{title}}

{{primary_tag.name}} • - +

{{/post}} @@ -40,6 +40,19 @@ {{content}}
+ Last update: +
+ Author: {{primary_author.name}} + + {{#if tags}} +
+ Tags: + {{#foreach tags}} {{!-- TODO: NOT WORKING --}} + {{name}} + {{/foreach}} + {{/if}} + +

Comments