Offerta Formativa Scuola
Offerta Formativa
Contenuto in aggiornamento
An error occurred while processing the template.
The following has evaluated to null or missing:
==> .vars['reserved-article-title'] [in template "20098#20124#39899" at line 12, column 56]
----
Tip: It's the final [] step that caused this error, not those before it.
----
Tip: If the failing expression is known to 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: ${.vars["reserved-article-title"].data} [in template "20098#20124#39899" at line 12, column 54]
----
1<div class="card-image-wrapper with-read-more pb-5">
2 <div class="card-body p-4">
3 <div class="category-top">
4 <#assign categories = [] />
5 <#if webContentUtil??>
6 <#assign categories = webContentUtil.getWebContentAssetCategoryTitles(.vars['reserved-article-id'].data) />
7 </#if>
8 <#list categories as cur_category>
9 <a class="category">${cur_category}</a>
10 </#list>
11 </div>
12 <p class="card-title font-weight-semibold">${.vars['reserved-article-title'].data}</p>
13 <p class="card-text">${stringUtil.shorten(htmlUtil.stripHtml(.vars['reserved-article-description'].data), 190)}</p>
14 </div>
15</div>
16
17<a class="read-more pl-4" href="/-/${.vars['reserved-article-url-title'].data}">
18 <span class="text"><@liferay.language key="ma-read-more"/></span>
19 <svg class="icon">
20 <use xlink:href="/o/marcoaurelio-theme/images/vendor/bootstrap-italia/sprite.svg#it-arrow-right"></use>
21 </svg>
22</a>