From d9bebfc024da7983e2242db221daf66011a04452 Mon Sep 17 00:00:00 2001
From: pabois <pierreandre.boissinot@noesya.coop>
Date: Mon, 13 Dec 2021 15:50:55 +0100
Subject: [PATCH] close #84

---
 app/models/communication/website/post.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/communication/website/post.rb b/app/models/communication/website/post.rb
index df3c20fec..791b8b15a 100644
--- a/app/models/communication/website/post.rb
+++ b/app/models/communication/website/post.rb
@@ -61,7 +61,7 @@ class Communication::Website::Post < ApplicationRecord
 
   def path
     # used in menu_item#jekyll_target
-    "/#{website.posts_github_directory}/#{slug}/#{published_at.strftime "%Y/%m/%d"}/#{slug}"
+    "/#{website.posts_github_directory}/#{published_at.strftime "%Y/%m/%d"}/#{slug}"
   end
 
   # Override from WithGithubFiles
-- 
GitLab