Últimas noticias
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> renderer.getArticle [in template "20100#20136#218308" at line 82, column 70] ---- 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 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 docXml = saxReaderUtil.read(r... [in template "20100#20136#218308" at line 82, column 33] ----
1<style type="text/css">
2 .lista .item{
3 display: flex;
4
5 margin-bottom: 20px;
6 }
7
8 .lista .item .cajaimg{
9 position:static;
10
11 height: 245px;
12margin-right: 30px;
13
14 }
15 .lista .item img{
16 width: 180px;
17 height: 143px;
18 display: block;
19 }
20 .lista .item h4{
21 font-family: 'Montserrat' ;
22 font-style: semibold ;
23 font-weight: 500 !important;
24 font-size: 18px !important;
25 line-height: 24px;
26 text-align: justify;
27 color: #B27386;
28 text-decoration: none;
29 }
30 .lista .textNotice {
31 margin-right: 60px;
32 text-align: justify;
33 display: block;
34
35 font-family: Work Sans ;
36 font-size: 16px !important;
37 font-style: normal ;
38 font-weight: normal;
39 line-height: 22px;
40 color: #000000;
41
42 text-decoration: none;
43 height: 4.5rem;
44 text-overflow: ellipsis;
45 overflow: hidden;
46 word-break: break-word;
47 }
48
49 .lista .item .siblingNotice{
50 font-family: 'Montserrat' ;
51 font-style: semibold ;
52 text-transform: uppercase;
53 font-size: 9px !important;
54 text-align: justify;
55 color: #B27386;
56 margin-right: 5px;
57 }
58 .lista .item .dateNotice{
59 height: 50px;
60 text-transform: uppercase;
61 color: #3F4950;
62 font-size: 9px;
63 }
64 .col-2-1-70-30>div.row:last-child{
65 display: none;
66 }
67 .img-2024-tamaño{
68 width: 400px !important;
69 height: 248px !important;
70 }
71
72</style>
73<div class="lista">
74 <#if entries?has_content>
75 <#list entries as entry>
76 <div class="row">
77 <#assign renderer = entry.getAssetRenderer() /> <#assign className = renderer.getClassName() />
78 <#assign dateFormat = "dd MMMMM yyyy" />
79 <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) />
80
81 <div class="col-md-12 item">
82 <#assign docXml = saxReaderUtil.read(renderer.getArticle().getContent()) />
83 <#assign imageJ = docXml.valueOf("//dynamic-element[@name='Imagenhjsi']/dynamic-content/text()") />
84 <div class="cajaimg">
85 <#if imageJ != "">
86 <#assign image = imageJ?eval />
87 <#if image.resourcePrimKey??>
88 <#assign idSite = themeDisplay.getScopeGroupId() />
89 <img class="img-2024-tamaño" src="/documents/${idSite}/${image.resourcePrimKey}/${image.name}/${image.uuid}"/>
90 </#if>
91 <#else>
92 <img class="img-2024-tamaño" src="/documents/20127/0/SuperSubsidioNoticiaHome.jpg/0bc65f9f-fe03-c4cd-3831-543aafc93758?t=1551103182126"/>
93 </#if>
94 </div>
95 <div class="caja">
96 <a href="${viewURL}">
97 <h4>${entry.getTitle(locale)}</h4>
98 </a>
99 <#assign summary = htmlUtil.escape(renderer.getSummary(renderRequest, renderResponse)) />
100 <#assign summaryCustom = docXml.valueOf("//dynamic-element[@name='ResumenDeNoticia']/dynamic-content/text()") />
101 <#assign fullContent = docXml.valueOf("//dynamic-element[@name='ContenidoDeLaNoticia']/dynamic-content/text()") />
102 <#if summary != "">
103 <span class="textNotice">${summary}</span>
104 <#else>
105 <#if summaryCustom != "">
106 <span class="textNotice">${summaryCustom}</span>
107 <#else>
108 <span class="textNotice">${fullContent}</span>
109 </#if>
110 </#if>
111 <div class="abs">
112 <span class="siblingNotice">Noticias</span>
113 <span class="dateNotice">${dateUtil.getDate(entry.getCreateDate(), dateFormat, locale)}</span>
114 </div>
115 </div>
116 </div>
117 </div>
118 </#list>
119 </#if>
120</div>