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

Fix #2788

parent 6cf401e0
No related branches found
Tags v2.1.0
No related merge requests found
......@@ -2,26 +2,30 @@ backlinks:
current_website:
name: "<%= @website.to_s_in(about.language) %>"
pages:
<% about.backlinks_pages(@website).each do |element|
<% about.backlinks_pages(@website).each do |element|
hugo = element.hugo(@website)
next if hugo.nil?
%>
<%= render 'admin/application/static/hugo/single', hugo: hugo, depth: 3 %>
<% end %>
posts:
<% about.backlinks_posts(@website).each do |element|
hugo = element.hugo(@website)
next if hugo.nil?
%>
<%= render 'admin/application/static/hugo/single', hugo: hugo, depth: 3 %>
<% end %>
events:
<% about.backlinks_agenda_events(@website).each do |element|
hugo = element.hugo(@website)
next if hugo.nil?
%>
<%= render 'admin/application/static/hugo/single', hugo: hugo, depth: 3 %>
<% end %>
projects:
<% about.backlinks_portfolio_projects(@website).each do |element|
hugo = element.hugo(@website)
next if hugo.nil?
%>
<%= render 'admin/application/static/hugo/single', hugo: hugo, depth: 3 %>
<% 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