Skip to content
Snippets Groups Projects
Unverified Commit ab5a66b4 authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

Merge pull request #1153 from noesya/remove-blocks-key-static

Static > remove blocks, contents remaining
parents 0b10a161 4aca3a83
No related branches found
No related tags found
No related merge requests found
......@@ -8,14 +8,3 @@ contents:
<% about.headings.root.ordered.each do |heading| %>
<%= render 'admin/communication/blocks/headings/static', heading: heading %>
<% end %>
<% if about.blocks.any? %>
blocks:
<% about.blocks.published.ordered.each do |block| %>
- template: <%= block.template_kind %>
title: >-
<%= prepare_text_for_static block.title, 3 %>
position: <%= block.position %>
data:
<%= render "admin/communication/blocks/templates/#{block.template_kind}/static",
block: block, about: about if block.data && block.data.present? %><% end %>
<% end %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment