diff --git a/app/models/communication/website/permalink/post.rb b/app/models/communication/website/permalink/post.rb index fb37f8aca05b7912dd014eb726754ca64bbf5dd7..f7dbdaa96e7861375fdc0296e277fa2fb359a117 100644 --- a/app/models/communication/website/permalink/post.rb +++ b/app/models/communication/website/permalink/post.rb @@ -8,6 +8,7 @@ class Communication::Website::Permalink::Post < Communication::Website::Permalin end # /actualites/2022/10/21/un-article/ + # Pas de /fr au dƩbut, parce qu'Hugo a besoin du permalink sans langue def self.pattern_in_website(website) "#{website.special_page(:communication_posts).path_without_language}:year/:month/:day/:slug/" end