From 5f5212fea8c55fbf2f6dfb8bb847abff800c8583 Mon Sep 17 00:00:00 2001
From: pabois <pierreandre.boissinot@noesya.coop>
Date: Thu, 21 Apr 2022 16:50:42 +0200
Subject: [PATCH] cateogry now has parent

---
 .../admin/communication/website/categories/static.html.erb     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/views/admin/communication/website/categories/static.html.erb b/app/views/admin/communication/website/categories/static.html.erb
index ef0142538..1674051a6 100644
--- a/app/views/admin/communication/website/categories/static.html.erb
+++ b/app/views/admin/communication/website/categories/static.html.erb
@@ -1,6 +1,9 @@
 ---
 title: "<%= @about.name %>"
 slug: "<%= @about.slug %>"
+<% if @about.parent %>
+parent: "<%= about.parent.slug %>"
+<% end %>
 position: <%= @about.position %>
 <% if @about.best_featured_image.attached? %>
 image: "<%= @about.best_featured_image.blob.id %>"
-- 
GitLab