From 3109498ef5d9ede3ee08a3e0d29bcc0829b10623 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Thu, 4 Aug 2022 17:02:16 +0200 Subject: [PATCH] fix --- .../communication/websites/configs/permalinks/static.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/communication/websites/configs/permalinks/static.html.erb b/app/views/admin/communication/websites/configs/permalinks/static.html.erb index a7bdb1749..69da7f55a 100644 --- a/app/views/admin/communication/websites/configs/permalinks/static.html.erb +++ b/app/views/admin/communication/websites/configs/permalinks/static.html.erb @@ -1,7 +1,7 @@ <% if @website.has_communication_posts? %> posts: <%= @website.special_page(:communication_posts).path_without_language %>:year/:month/:day/:slug/ <% end %> -<% if @website.has_communication_categories? %> +<% if @website.has_communication_posts? && @website.has_communication_categories? %> categories: <%= @website.special_page(:communication_posts).path_without_language %>:slug/ <% end %> <% if @website.has_persons? %> -- GitLab