From a7969103dba9799f4b0acea3af290bf0223af288 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Tue, 10 Jan 2023 17:56:12 +0100
Subject: [PATCH] better export

---
 .../communication/blocks/templates/programs/_static.html.erb    | 2 ++
 1 file changed, 2 insertions(+)

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 44bcb65d3..b64fcdec1 100644
--- a/app/views/admin/communication/blocks/templates/programs/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/programs/_static.html.erb
@@ -2,4 +2,6 @@
 <% block.template.elements.each do |element| %>
 <% next unless element.program %>
         - slug: "<%= element.program.slug %>"
+          path: "<%= element.program.path %>"
+          git_path: "<%= element.program.git_path(@website) %>"
 <% end %>
-- 
GitLab