An error occurred while processing the template.
The following has evaluated to null or missing: ==> Image526x204.alt [in template "10154#10192#2517530" at line 28, column 44] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign alt_tag = Image526x204.alt - ... [in template "10154#10192#2517530" at line 28, column 25] ----
1<div
2 <#if (ContentNotSearchable.getData())?? && ContentNotSearchable.getData() != "true">
3 data-addsearch="include"
4 </#if>
5>
6
7<section class="article-of-news-container liferay-styles-reset" id="${.vars["reserved-article-id"].data}">
8 <div class="article-of-news-content">
9 <#if (Articletitle.getData())?? && Articletitle.getData()?has_content>
10 <#if (artical_title_type.getData())?? && artical_title_type.getData()?has_content>
11 <#assign header_tag = artical_title_type.getData()>
12 <#else>
13 <#assign header_tag = "h2">
14 </#if>
15 <${header_tag} class="header-text">${Articletitle.getData()}</${header_tag}>
16 </#if>
17
18 <#if Image526x204.data?has_content>
19 <div class="image-container">
20 <div class="image">
21 <#if (Image526x204.imageurl.getData())?? && Image526x204.imageurl.getData()?has_content>
22 <#assign imagesrc = Image526x204.imageurl.getData()>
23 <#else>
24 <#assign imagesrc = Image526x204.getData()>
25 </#if>
26
27 <#if (Image526x204.alttext.getData())?? && Image526x204.alttext.getData()?has_content>
28 <#assign alt_tag = Image526x204.alt-text.getData()>
29 <#else>
30 <#assign alt_tag = Articletitle.getData()>
31 </#if>
32 <img src="${imagesrc}" alt="${alt_tag!}" />
33 </div>
34 </div>
35 </#if>
36 ${Content.getData()}
37 </div>
38</section>
39
40</div>