From 4d25a8264dec3e1b2daa084a0ee618593427bdad Mon Sep 17 00:00:00 2001
From: Tobias Huste <t.huste@hzdr.de>
Date: Fri, 4 Jun 2021 10:27:33 +0200
Subject: [PATCH] Make categories of posts visible on the frontpage

This also renames the category of the diagrams post in order to be in
line with the other tutorials.
---
 _includes/cards/post_card.html                               | 4 ++++
 _posts/2021/06/2021-06-02-easy-diagram-creation-in-gitlab.md | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/_includes/cards/post_card.html b/_includes/cards/post_card.html
index a0d6cc9f4..80c0083b3 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.&thinsp;%b.&thinsp;%y" }}
             </span>
+            <span class="badge badge-dark">
+                <i class="fas fa-tag" aria-hidden="true"></i>
+                {{ include.post.categories.first | capitalize }}
+            </span>
         </div>
         <div class="card-text">
             <a href="{{ include.post.url | relative_url }}" class="stretched-link">
diff --git a/_posts/2021/06/2021-06-02-easy-diagram-creation-in-gitlab.md b/_posts/2021/06/2021-06-02-easy-diagram-creation-in-gitlab.md
index 8802e11c5..44094dc81 100644
--- a/_posts/2021/06/2021-06-02-easy-diagram-creation-in-gitlab.md
+++ b/_posts/2021/06/2021-06-02-easy-diagram-creation-in-gitlab.md
@@ -7,7 +7,9 @@ authors:
   - jandt
 layout: blogpost
 categories:
-  - tutorials
+  - tutorial
+redirect_from:
+  - tutorials/2021/06/02/easy-diagram-creation-in-gitlab.html
 excerpt: >
     Recently, the Helmholtz-wide software development platform (<a href="https://gitlab.hzdr.de">Gitlab</a>) has been extended
     with the ability to create diagrams from textual descriptions.
-- 
GitLab