From 51756eeb3c06fa4de867129378b98cd2160fb61d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Tue, 11 Apr 2023 16:26:49 +0200
Subject: [PATCH] fix

---
 .../communication/blocks/templates/posts/_static.html.erb     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app/views/admin/communication/blocks/templates/posts/_static.html.erb b/app/views/admin/communication/blocks/templates/posts/_static.html.erb
index 00932a5d2..167e7e361 100644
--- a/app/views/admin/communication/blocks/templates/posts/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/posts/_static.html.erb
@@ -1,4 +1,6 @@
-<% if block.template.mode == 'category' && block.template.category %>
+<% if block.template.mode == 'all' %>
+      all: true
+<% elsif block.template.mode == 'category' && block.template.category %>
       category: "<%= block.template.category.path %>"
 <% end %>
       layout: <%= block.template.layout %>
-- 
GitLab