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

static

parent e6474424
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,12 @@ slug: "<%= @about.path %>"
<% if @about.parent %>
parent: "<%= @about.parent.path %>"
<% end %>
<% if @about.previous_links.any? %>
aliases:
<% @about.previous_links.each do |previous_link| %>
- <%= previous_link.link %>
<% end %>
<% end %>
position: <%= @about.position %>
<%= render 'admin/communication/unsplash/static' %>
description: >
......
......@@ -3,6 +3,12 @@ title: >
<%= @about.title %>
breadcrumb_title: "<%= @about.breadcrumb_title.blank? ? @about.title : @about.breadcrumb_title %>"
url: "<%= @about.path %>"
<% if @about.previous_links.any? %>
aliases:
<% @about.previous_links.each do |previous_link| %>
- <%= previous_link.link %>
<% end %>
<% end %>
position: <%= @about.position %>
full_width: <%= @about.full_width %>
bodyclass: <%= @about.best_bodyclass %>
......
......@@ -2,6 +2,12 @@
title: "<%= @about.title %>"
date: "<%= @about.published_at.iso8601 %>"
slug: "<%= @about.slug %>"
<% if @about.previous_links.any? %>
aliases:
<% @about.previous_links.each do |previous_link| %>
- <%= previous_link.link %>
<% end %>
<% end %>
<% if @about.pinned %>
weight: 1
<% end %>
......
......@@ -2,6 +2,12 @@
title: >
<%= @about.to_s %>
slug: "<%= @about.slug %>"
<% if @about.previous_links.any? %>
aliases:
<% @about.previous_links.each do |previous_link| %>
- <%= previous_link.link %>
<% end %>
<% end %>
first_name: >
<%= @about.first_name %>
last_name: >
......@@ -38,12 +44,12 @@ roles:
<% end %>
<% if @about.involvements_as_teacher.any? %>
teachings:
<% @about.involvements_as_teacher.each do |involvement|
<% @about.involvements_as_teacher.each do |involvement|
target = involvement.target
%>
- description: >
<%= involvement.description %>
program:
program:
title: >
<%= target.to_s %>
url: >
......@@ -52,11 +58,11 @@ teachings:
<% end %>
<% if @about.roles_as_administrator.any? %>
administrative_missions:
<% @about.roles_as_administrator.each do |role|
<% @about.roles_as_administrator.each do |role|
target = role.target %>
- description: >
<%= role.to_s %>
target:
target:
title: >
<%= target.to_s %>
url: >
......
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