From a3ca938eca4713a9fa2618ade2cb7cb6c4c3b054 Mon Sep 17 00:00:00 2001 From: "Uwe Jandt (DESY)" <uwe.jandt@desy.de> Date: Fri, 28 May 2021 16:33:25 +0200 Subject: [PATCH] Basic display of category, needs formatting --- _includes/cards/post_card.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_includes/cards/post_card.html b/_includes/cards/post_card.html index a0d6cc9f4..218c47d2e 100644 --- a/_includes/cards/post_card.html +++ b/_includes/cards/post_card.html @@ -25,6 +25,10 @@ post: The post which sould be displayed on the card <i class="fas fa-calendar-day" aria-hidden="true"></i> {{ include.post.date | date: "%d. %b. %y" }} </span> + <span class="badge badge-secondary"> + <i class="fas fa-tag" aria-hidden="true"></i> + {{ include.post.categories }} + </span> </div> <div class="card-text"> <a href="{{ include.post.url | relative_url }}" class="stretched-link"> -- GitLab