1<#--
2Add elements from the sidebar to define your template. Type "${" to use the
3autocomplete feature.
4-->
5<div class="d-flex flex-wrap align-items-center">
6 <p class="mb-0">
7 <#assign contentStructureIdForPerson = 45349 />
8 <#assign structuredContentId = .vars["reserved-article-resource-prim-key"].data>
9 <#assign url = "/headless-delivery/v1.0/structured-contents/${structuredContentId}?fields=relatedContents,taxonomyCategoryBriefs.taxonomyCategoryName,taxonomyCategoryBriefs.taxonomyCategoryId,relatedContents">
10 <#assign taxonomyCategoryBriefs = restClient.get(url)>
11 <#assign contentType = "" />
12 <#assign articleType = "" />
13 <#assign topics = "" />
14 <#assign authors = [] />
15 <#if taxonomyCategoryBriefs??>
16 <#assign relatedItems = taxonomyCategoryBriefs.relatedContents />
17 <#if relatedItems?has_content>
18 <#list relatedItems as item>
19 <#assign relatedItem = restClient.get("/headless-delivery/v1.0/structured-contents/${item.id}") />
20 <#if relatedItem.contentStructureId = contentStructureIdForPerson>
21 <#assign authors = authors + [{
22 "name": relatedItem.title,
23 "url": "/w/${relatedItem.friendlyUrlPath}"
24 }] />
25 </#if>
26 </#list>
27 </#if>
28 </#if>
29 <#assign publicationDate_Data = getterUtil.getString(publicationDate.getData())>
30 <#if validator.isNotNull(publicationDate_Data)>
31 <#assign publicationDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", publicationDate_Data, locale)>
32 </#if>
33 <span class="font-weight-bold">${dateUtil.getDate(publicationDate_DateObj, "MMMM dd, yyyy", locale)}</span>
34 <#if authors?has_content>
35 <#if articleType == 'Press Release'>
36 / By ICBA
37 <#else>
38 / By
39 <#list authors as author>
40 <a href="${author.url}">${author.name}</a><#if author?has_next><#if author?counter == authors?size - 1> and <#else>, </#if></#if>
41 </#list>
42 </#if>
43 <#else>
44 / By ICBA
45 </#if>
46 </p>
47</div>