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

fix

parent 8ff912e8
No related branches found
No related tags found
No related merge requests found
<% if block.template.page %>
page: <%= block.template.page.path %>
<%
if block.template.page
page = block.template.page
%>
page:
path: "<%= page.path %>"
slug: "<%= page.slug %>"
file: "<%= page.git_path(@website) %>"
<% end %>
show_main_description: <%= block.template.show_main_description %>
show_descriptions: <%= block.template.show_description %>
......@@ -8,7 +14,6 @@
pages:
<% block.template.selected_pages.each do |element| %>
- path: "<%= element.path %>"
page: "<%= element.path %>"
slug: "<%= element.slug %>"
file: "<%= element.git_path(@website) %>"
external: false
......
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