From 5f31bcff3b044abdcc6d3a37474111dd63c53307 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Fri, 7 Jan 2022 14:18:51 +0100 Subject: [PATCH] cat --- app/views/admin/communication/website/pages/static.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/admin/communication/website/pages/static.html.erb b/app/views/admin/communication/website/pages/static.html.erb index e18d1756c..58b3a4a9d 100644 --- a/app/views/admin/communication/website/pages/static.html.erb +++ b/app/views/admin/communication/website/pages/static.html.erb @@ -7,6 +7,9 @@ position: <%= @page.position %> image: "<%= @page.best_featured_image.blob.id %>" image_alt: "<%= @page.featured_image_alt %>" <% end %> +<% if @page.category %> +category: "<%= @page.category.path %>" +<% end %> description: > <%= prepare_for_github @page.description, @page.university %> --- -- GitLab