diff --git a/app/views/admin/education/programs/jekyll.html.erb b/app/views/admin/education/programs/jekyll.html.erb index 6a130379831307ae9b3865e26a6b603d90942520..f86a73070070bc1bd63747fc5d706f3fca03c38d 100644 --- a/app/views/admin/education/programs/jekyll.html.erb +++ b/app/views/admin/education/programs/jekyll.html.erb @@ -7,6 +7,7 @@ continuing: <%= @program.continuing %> level: <%= @program.level %> ects: <%= @program.ects %> position: <%= @program.position %> +related_category: "<%= @github_file.website.categories.find_by(program_id: @program.id)&.id %>" <% if @program.best_featured_image.attached? %> image: "<%= @program.best_featured_image.blob.id %>" <% end %>