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 a7bdb1749c200bbd12a7bbf7756afbe1a9ac690f..69da7f55a9d8090920f89356e87bc1548ebc9430 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? %>