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 c88c34d54acdc9ebd95ba3f82b357d9abb596cc4..00932a5d2020ecd3ccf45d020a1cba443976925f 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,4 @@
-<% if block.template.category %>
+<% if block.template.mode == 'category' && block.template.category %>
       category: "<%= block.template.category.path %>"
 <% end %>
       layout: <%= block.template.layout %>