From 6e16b25cac40c2d5b43e93b7ee8a120d7d2d8b1c Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Mon, 5 Dec 2022 15:06:05 +0100 Subject: [PATCH] wip --- app/models/communication/website/permalink/post.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/communication/website/permalink/post.rb b/app/models/communication/website/permalink/post.rb index fb37f8aca..f7dbdaa96 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 -- GitLab