Quick fix to VIVO-975 where there's a missing 'type' parameter in a Freemarker call that throws an exception
This commit is contained in:
parent
d6f7baf8a8
commit
183da6fd56
1 changed files with 3 additions and 0 deletions
|
@ -11,11 +11,14 @@
|
||||||
<#elseif individual.event()>
|
<#elseif individual.event()>
|
||||||
itemscope itemtype="http://schema.org/Event"
|
itemscope itemtype="http://schema.org/Event"
|
||||||
<#elseif individual.infoContentEntity()>
|
<#elseif individual.infoContentEntity()>
|
||||||
|
<#assign mst = "Document" />
|
||||||
<#list individual.mostSpecificTypes as type >
|
<#list individual.mostSpecificTypes as type >
|
||||||
<#assign mst = type />
|
<#assign mst = type />
|
||||||
<#break>
|
<#break>
|
||||||
</#list>
|
</#list>
|
||||||
<@getItemType mst "infoContentEntity"/>
|
<@getItemType mst "infoContentEntity"/>
|
||||||
|
<#else>
|
||||||
|
itemscope itemtype="http://schema.org/Thing"
|
||||||
</#if>
|
</#if>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue