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