diff --git a/app/models/education/program.rb b/app/models/education/program.rb
index 6340df323983f5547450d6e55b59a76c36469318..6e139cc7dc3a34e22ba9c286d677ec5d91798026 100644
--- a/app/models/education/program.rb
+++ b/app/models/education/program.rb
@@ -134,7 +134,7 @@ class Education::Program < ApplicationRecord
   end
 
   def git_path(website)
-    "#{git_path_content_prefix(website)}programs/#{path}/_index.html" if for_website?(website)
+    Static.clean_path("#{git_path_content_prefix(website)}programs/#{path}/_index.html") if for_website?(website)
   end
 
   def path_in_website(website)
diff --git a/app/views/admin/communication/blocks/templates/programs/_static.html.erb b/app/views/admin/communication/blocks/templates/programs/_static.html.erb
index b64fcdec195db606a1165af0935adc557f0e2285..aa7ff4d5ba9927842d61bf82bd73264ea7929540 100644
--- a/app/views/admin/communication/blocks/templates/programs/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/programs/_static.html.erb
@@ -4,4 +4,5 @@
         - slug: "<%= element.program.slug %>"
           path: "<%= element.program.path %>"
           git_path: "<%= element.program.git_path(@website) %>"
+          path_in_website: "<%= element.program.path_in_website(@website) %>"
 <% end %>