From 7ad9398e8a3fd8dcadc6b87edcbfc0984b61e8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Fri, 10 Dec 2021 12:04:56 +0100 Subject: [PATCH] tags in post/jekyll --- app/views/admin/communication/website/posts/jekyll.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/admin/communication/website/posts/jekyll.html.erb b/app/views/admin/communication/website/posts/jekyll.html.erb index 743a55873..5bdba6bf1 100644 --- a/app/views/admin/communication/website/posts/jekyll.html.erb +++ b/app/views/admin/communication/website/posts/jekyll.html.erb @@ -9,6 +9,10 @@ categories: - "<%= category.id %>" <% end %> <% end %> +<% if @post.author_id.present? %> +tags: + - "<%= @post.author_id %>" +<% end %> <% if @post.featured_image.attached? %> image: "<%= @post.featured_image.blob.id %>" <% end %> -- GitLab