Skip to content
Snippets Groups Projects
Commit 21da6c62 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix

parent 5c7f741b
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ should_render_data = block.data && block.data.present?
%>
- kind: block
template: <%= block.template_kind %>
title: >
title: >-
<%= prepare_text_for_static block.title %>
position: <%= block.position %>
data:
......
- kind: heading
title: >-
<%= prepare_text_for_static heading.title, 3 %>
<%= prepare_text_for_static heading.title %>
position: <%= heading.position %>
level: <%= heading.level %>
<% heading.blocks.published.ordered.each do |block| %>
......
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