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

Fix #2441

parent a0cfb18a
No related branches found
No related tags found
No related merge requests found
......@@ -18,11 +18,16 @@
else
person_link = '#'
end
begin
title_with_optional_link = link_to_if block.template.option_link, person_l10n, person_link
rescue
title_with_optional_link = person_l10n
end
%>
<article class="person" itemscope itemtype="https://schema.org/Person">
<div class="description">
<h<%= heading_level %>>
<%= link_to_if block.template.option_link, person_l10n, person_link %>
<%= title_with_optional_link %>
</h<%= heading_level %>>
<p itemprop="jobTitle">
<%= element.role %>
......
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