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

Precompute persons for website

parent cf5d7a09
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,13 @@ title: >
<%= @about.title %>
breadcrumb_title: "<%= @about.breadcrumb_title.blank? ? @about.title : @about.breadcrumb_title %>"
<%= render 'admin/application/static/permalink' %>
<% if @about.kind_persons? %>
has:
administrators: <%= @website.has_administrators? %>
authors: <%= @website.has_authors? %>
researchers: <%= @website.has_researchers? %>
teachers: <%= @website.has_teachers? %>
<% end %>
position: <%= @about.position %>
full_width: <%= @about.full_width %>
bodyclass: <%= @about.best_bodyclass %>
......
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