Se ha producido un error al procesar la plantilla.
Invocation of method 'addMetaTag' in  class com.liferay.portal.kernel.velocity.IterVelocityTools threw exception XYZ_E_INVALID_VELOCITY_META_TAGS_MAP_ZYX:Invalid parameters K: 'content' V: 'null'

[file IterVelocityTools.java, method addMetaTag, line 886] at 21736/F/SCROLL_INFINITO_ESPECIAL[line 11, column 20]
1##----especial2.0----
 
2
 
3##Add meta title
 
4#set($title = $articleToolbox.getTag(null,"Headline").data)
 
5#set($title = $htmlUtil.escape($!title))
 
6#set($title = $title.replaceAll("\n", ""))
 
7
 
8#set($html5Desc = {})
 
9#set($temp = $html5Desc.put("name","title"))
 
10#set($temp = $html5Desc.put("content",$title))
 
11$iterVelocityTools.addMetaTag($html5Desc)
 
12
 
13#set($hostName = "#siteUrl()")
 
14#set($dateMask = "d MMMM yyyy")
 
15#set ($arrayListContenidos = [])
 
16
 
17#set ($element = {})
 
18#set ($temp = $element.put("name","Text"))
 
19#set ($temp = $element.put("type","paragraph"))
 
20#set ($temp = $element.put("cssclass","texto"))
 
21#set ($temp = $element.put("tag","div"))
 
22#set($temp = $arrayListContenidos.add($element))
 
23
 
24#set ($element = {})
 
25#set ($temp = $element.put("name","Image_Text"))
 
26#set ($temp = $element.put("type","image"))
 
27#set ($temp = $element.put("cssclass","img text"))
 
28#set ($temp = $element.put("tag","div"))
 
29#set($temp = $arrayListContenidos.add($element))
 
30
 
31#set ($element = {})
 
32#set ($temp = $element.put("name","Image_Text_GIF"))
 
33#set ($temp = $element.put("type","image"))
 
34#set ($temp = $element.put("cssclass","imagen"))
 
35#set ($temp = $element.put("tag","div"))
 
36#set($temp = $arrayListContenidos.add($element))
 
37
 
38#set ($element = {})
 
39#set ($temp = $element.put("name","Lead_Text"))
 
40#set ($temp = $element.put("type","text"))
 
41#set ($temp = $element.put("cssclass","intertitulo"))
 
42#set ($temp = $element.put("tag","div"))
 
43#set($temp = $arrayListContenidos.add($element))
 
44
 
45#set ($element = {})
 
46#set ($temp = $element.put("name","Lead"))
 
47#set ($temp = $element.put("type","text"))
 
48#set ($temp = $element.put("cssclass","lead destacado"))
 
49#set ($temp = $element.put("tag","div"))
 
50#set ($temp = $arrayListContenidos.add($element))
 
51
 
52#set ($element = {})
 
53#set ($temp = $element.put("name","HTML_Text"))
 
54#set ($temp = $element.put("type","html"))
 
55#set ($temp = $element.put("cssclass","html_text"))
 
56#set ($temp = $element.put("tag","div"))
 
57#set($temp = $arrayListContenidos.add($element))
 
58
 
59#set ($element = {})
 
60#set ($temp = $element.put("name","Twitter_Text"))
 
61#set ($temp = $element.put("type","twitter"))
 
62#set ($temp = $element.put("cssclass","twitter_text"))
 
63#set ($temp = $element.put("tag","div"))
 
64#set ($temp = $arrayListContenidos.add($element))
 
65
 
66#set ($element = {})
 
67#set ($temp = $element.put("name","Facebook_Text"))
 
68#set ($temp = $element.put("type","facebook"))
 
69#set ($temp = $element.put("cssclass","facebook_text"))
 
70#set ($temp = $element.put("tag","div"))
 
71#set ($temp = $arrayListContenidos.add($element))
 
72
 
73#set ($element = {})
 
74#set ($temp = $element.put("name","Instagram_Text"))
 
75#set ($temp = $element.put("type","instagram"))
 
76#set ($temp = $element.put("cssclass","instagram_text"))
 
77#set ($temp = $element.put("tag","div"))
 
78#set ($temp = $arrayListContenidos.add($element))
 
79
 
80#set ($element = {})
 
81#set ($temp = $element.put("name","Youtube_Text"))
 
82#set ($temp = $element.put("type","youtube"))
 
83#set ($temp = $element.put("cssclass","youtube_video"))
 
84#set ($temp = $element.put("tag","div"))
 
85#set($temp = $arrayListContenidos.add($element))
 
86
 
87#set ($element = {})
 
88#set ($temp = $element.put("name","Multimedia_Text"))
 
89#set ($temp = $element.put("type","multimedia"))
 
90#set ($temp = $element.put("cssclass","video"))
 
91#set ($temp = $element.put("tag","div"))
 
92#set($temp = $arrayListContenidos.add($element))
 
93
 
94#set ($element = {})
 
95#set ($temp = $element.put("name","Flourish_Text"))
 
96#set ($temp = $element.put("type","text"))
 
97#set ($temp = $element.put("cssclass","flourish_text"))
 
98#set ($temp = $element.put("tag","div"))
 
99#set ($temp = $arrayListContenidos.add($element))
 
100
 
101#set ($element = {})
 
102#set ($temp = $element.put("name","Quote"))
 
103#set ($temp = $element.put("type","text"))
 
104#set ($temp = $element.put("cssclass","quote"))
 
105#set ($temp = $element.put("tag","div"))
 
106#set($temp = $arrayListContenidos.add($element))
 
107
 
108#set ($element = {})
 
109#set ($temp = $element.put("name","Quote_byline"))
 
110#set ($temp = $element.put("type","text"))
 
111#set ($temp = $element.put("cssclass","Quote_byline"))
 
112#set ($temp = $element.put("tag","div"))
 
113#set ($temp = $arrayListContenidos.add($element))
 
114
 
115#set ($element = {})
 
116#set ($temp = $element.put("name","linkTitle_Text"))
 
117#set ($temp = $element.put("type","text"))
 
118#set ($temp = $element.put("cssclass","link_tpi"))
 
119#set ($temp = $element.put("tag","div"))
 
120#set($temp = $arrayListContenidos.add($element))
 
121
 
122#set ($element = {})
 
123#set ($temp = $element.put("name","title_list"))
 
124#set ($temp = $element.put("type","microformat"))
 
125#set ($temp = $element.put("cssclass","microformat"))
 
126#set ($temp = $element.put("tag","div"))
 
127#set($temp = $arrayListContenidos.add($element))
 
128
 
129#set ($element = {})
 
130#set ($temp = $element.put("name","image_list"))
 
131#set ($temp = $element.put("type","microformat"))
 
132#set ($temp = $element.put("cssclass","microformat"))
 
133#set ($temp = $element.put("tag","div"))
 
134#set($temp = $arrayListContenidos.add($element))
 
135
 
136#set ($element = {})
 
137#set ($temp = $element.put("name","text_list"))
 
138#set ($temp = $element.put("type","microformat"))
 
139#set ($temp = $element.put("cssclass","microformat"))
 
140#set ($temp = $element.put("tag","div"))
 
141#set($temp = $arrayListContenidos.add($element))
 
142
 
143#set ($element = {})
 
144#set ($temp = $element.put("name","Parrafo_Lista"))
 
145#set ($temp = $element.put("type","text"))
 
146#set ($temp = $element.put("cssclass","Parrafo_Lista"))
 
147#set ($temp = $element.put("tag","div"))
 
148#set ($temp = $arrayListContenidos.add($element))
 
149
 
150#set ($element = {})
 
151#set ($temp = $element.put("name","Titulo_News"))
 
152#set ($temp = $element.put("type","text"))
 
153#set ($temp = $element.put("cssclass","titulo_news"))
 
154#set ($temp = $element.put("tag","div"))
 
155#set ($temp = $arrayListContenidos.add($element))
 
156
 
157#set ($element = {})
 
158#set ($temp = $element.put("name","Resumen_News"))
 
159#set ($temp = $element.put("type","text"))
 
160#set ($temp = $element.put("cssclass","resumen_news"))
 
161#set ($temp = $element.put("tag","div"))
 
162#set ($temp = $arrayListContenidos.add($element))
 
163
 
164#set ($element = {})
 
165#set ($temp = $element.put("name","Boton"))
 
166#set ($temp = $element.put("type","text"))
 
167#set ($temp = $element.put("cssclass","Boton"))
 
168#set ($temp = $element.put("tag","div"))
 
169#set ($temp = $arrayListContenidos.add($element))
 
170
 
171
 
172## MAPA DE PUBLICIDAD EN PARRAFOS
 
173#set ($addInParrafos ={})
 
174##set ($temp = $addInParrafos.put("2","scroll_Inread"))
 
175
 
176
 
177#set($sectionID = "#printAssignedSectionID_v1")
 
178#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
 
179
 
180#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
 
181
 
182
 
183
 
184##----json----
 
185#set($pub_imagen = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
 
186#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
 
187
 
188#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
 
189#set($dateF = $dateF.trim())
 
190#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
 
191#set($dateM = $dateM.trim())
 
192#set($dateF = $dateF + "T" + $dateM +"-0600")
 
193
 
194
 
195#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
 
196#set($dateF1 = $dateF1.trim())
 
197#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
 
198#set($dateH = $dateH.trim())
 
199#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
 
200
 
201##METAS TWITTER
 
202
 
203#set($TituloEsc = $!articleToolbox.getTag(null,"Headline").data)
 
204#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
205
 
206#set($metaTW = {})
 
207#set($temp = $metaTW.put("property","twitter:card"))
 
208#set($temp = $metaTW.put("content", "summary_large_image"))
 
209$iterVelocityTools.addMetaTag( $metaTW )
 
210
 
211#set($metaTW = {})
 
212#set($temp = $metaTW.put("property","twitter:site"))
 
213#set($temp = $metaTW.put("content", "vanguardiamx"))
 
214$iterVelocityTools.addMetaTag( $metaTW )
 
215
 
216#set($metaTW = {})
 
217#set($temp = $metaTW.put("property","twitter:title"))
 
218#set($temp = $metaTW.put("content", "$TituloEsc"))
 
219$iterVelocityTools.addMetaTag( $metaTW )
 
220
 
221#set($metaTW = {})
 
222#set($temp = $metaTW.put("property","twitter:description"))
 
223#set($temp = $metaTW.put("content", "$TextoEsc"))
 
224$iterVelocityTools.addMetaTag( $metaTW )
 
225
 
226#if($pub_imagen != "")
 
227	#set($metaTW = {})
 
228	#set($temp = $metaTW.put("property","twitter:image"))
 
229	#set($temp = $metaTW.put("content", "$pub_imagen"))
 
230	$iterVelocityTools.addMetaTag( $metaTW )
 
231#end
 
232
 
233#set($metaTW = {})
 
234#set($temp = $metaTW.put("property","twitter:url"))
 
235#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
 
236$iterVelocityTools.addMetaTag( $metaTW )
 
237
 
238#set($metaTW = {})
 
239#set($temp = $metaTW.put("property","twitter:domain"))
 
240#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
 
241$iterVelocityTools.addMetaTag( $metaTW )
 
242
 
243#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
244#set($xml-url = $ac-url.get(0).text)
 
245#set($url_actual = $!xml-url )
 
246##----json----
 
247<script type="application/ld+json">
 
248    {
 
249    "@context": "http://schema.org",
 
250    "@type": "ImageObject",
 
251    "url": "$pub_imagen",
 
252    "width": 1200,
 
253    "height": 597,
 
254      "datePublished": "$dateF",
 
255      "dateModified": "$dateFb",
 
256      "dateCreated": "$dateF>"}
 
257</script>
 
258
 
259<style>
 
260.block_lead{
 
261
 
262clear: none;
 
263    font-weight: bold;
 
264    line-height: 140%;
 
265    margin-bottom: 20px;
 
266    color: #757575;
 
267    font-size: 1.625rem;
 
268    text-align: center;
 
269    max-width: 620px;
 
270    margin: 0 auto 20px auto;
 
271    width: 100%;
 
272    font-weight: 900;
 
273
 
274}
 
275</style>
 
276
 
277<div class="template-infinity special detail col-100-top-one-col col-12" id-next="$!art_next.reserved-article-id.data" id-section="$sectionID">
 
278
 
279            <div hidden itemprop="image" itemscope itemtype="https://schema.org/ImageObject"> 
 
280                <meta hidden itemprop="url" content="$pub_imagen"> 
 
281                <meta hidden itemprop="width" content="1200"> 
 
282                <meta hidden itemprop="height" content="700"> 
 
283            </div> 
 
284            <time hidden itemprop="datePublished" datetime="$dateF"></time>
 
285            <time hidden itemprop="dateModified" datetime="$dateFb"></time>
 
286            <time hidden itemprop="dateCreated" datetime="$dateF"></time>
 
287            <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
288            <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
289            <meta itemprop="url" content="https://vanguardia.com.mx/" />
 
290            <meta itemprop="name" content="Vanguardia" />
 
291            <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
292                <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
 
293                <meta itemprop="width" content="380" />
 
294                <meta itemprop="height" content="35" />
 
295            </div>
 
296            </div>
 
297
 
298            <script>
 
299                var group_id = $request.theme-display.scope-group-id;
 
300                var id_art_infinity = $reserved-article-id.data;
 
301                #if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
302                    var teaser_first = true;
 
303                    var n_noticia = 1;
 
304                    idart_view = $reserved-article-id.data;
 
305                #else
 
306                    var teaser_first = false;
 
307                    var n_noticia = n_noticia + 1;
 
308                #end
 
309
 
310
 
311                document.addEventListener("DOMContentLoaded", function() {
 
312                    // Selecciona el bloque con la clase .author
 
313                    var authorBlock = document.querySelector('.author');
 
314                    
 
315                    // Selecciona el bloque con la clase .block_lead.destacado
 
316                    var leadBlock = document.querySelector('.block_lead.destacado');
 
317                    
 
318                    // Mueve el bloque .block_lead.destacado debajo del bloque .author
 
319                    if (authorBlock && leadBlock) {
 
320                    authorBlock.insertAdjacentElement('afterend', leadBlock);
 
321                    }
 
322                });
 
323
 
324            </script>
 
325
 
326            ## MAPA DE PUBLICIDAD EN PARRAFOS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
327                    #set ($addInParagraph ={})
 
328
 
329                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
330                    
 
331                        #set ($temp = $addInParagraph.put("8","vanguardia.com.mx/plantilla_especial/responsive_1"))
 
332                                    #set ($temp = $addInParagraph.put("16","vanguardia.com.mx/plantilla_especial/responsive_2"))
 
333                                    #set ($temp = $addInParagraph.put("24","vanguardia.com.mx/plantilla_especial/responsive_3"))
 
334                                    #set ($temp = $addInParagraph.put("32","vanguardia.com.mx/plantilla_especial/responsive_4"))
 
335                            #if (false)
 
336                                        #set ($temp = $addInParagraph.put("40","vanguardia.com.mx/plantilla_especial/responsive_5"))
 
337                                        #set ($temp = $addInParagraph.put("48","vanguardia.com.mx/plantilla_especial/responsive_6"))
 
338                                        #set ($temp = $addInParagraph.put("56","vanguardia.com.mx/plantilla_especial/responsive_7"))   
 
339                                        #set ($temp = $addInParagraph.put("64","vanguardia.com.mx/plantilla_especial/responsive_8"))
 
340                                        #set ($temp = $addInParagraph.put("72","vanguardia.com.mx/plantilla_especial/responsive_9"))
 
341                                        #set ($temp = $addInParagraph.put("80","vanguardia.com.mx/plantilla_especial/responsive_10"))
 
342                            #end
 
343                        <script>console.log('definicion movil');</script>
 
344                    #php_else
 
345                                    #set ($temp = $addInParagraph.put("8","vanguardia.com.mx/plantilla_especial/responsive_1"))
 
346                                    #set ($temp = $addInParagraph.put("16","vanguardia.com.mx/plantilla_especial/responsive_2"))
 
347                                    #set ($temp = $addInParagraph.put("24","vanguardia.com.mx/plantilla_especial/responsive_3"))
 
348                                    #set ($temp = $addInParagraph.put("32","vanguardia.com.mx/plantilla_especial/responsive_4"))
 
349                            #if (false)
 
350                                        #set ($temp = $addInParagraph.put("40","vanguardia.com.mx/plantilla_especial/responsive_5"))
 
351                                        #set ($temp = $addInParagraph.put("48","vanguardia.com.mx/plantilla_especial/responsive_6"))
 
352                                        #set ($temp = $addInParagraph.put("56","vanguardia.com.mx/plantilla_especial/responsive_7"))   
 
353                                        #set ($temp = $addInParagraph.put("64","vanguardia.com.mx/plantilla_especial/responsive_8"))
 
354                                        #set ($temp = $addInParagraph.put("72","vanguardia.com.mx/plantilla_especial/responsive_9"))
 
355                                        #set ($temp = $addInParagraph.put("80","vanguardia.com.mx/plantilla_especial/responsive_10"))
 
356                            #end
 
357            #php_end
 
358
 
359<article class="mrf-article-body">
 
360
 
361    <!-- DATOS PARA SCRIPT DE ACCEDER -->
 
362
 
363    #set($NombreAutor = "")
 
364    #set($IDAutor = "")
 
365
 
366    #if($hmAutores && $hmAutores.size() > 0)
 
367        #foreach ($elem in $hmAutores)
 
368
 
369        <div data-author-name="$elem.name" id="NombreAutor" ></div>
 
370        <div data-author-id="$elem.id" id="IDAutor" ></div>
 
371
 
372        #set($NombreAutor = $elem.name)
 
373        #set($IDAutor = $elem.id)
 
374        #end
 
375    #end
 
376
 
377    <div id="eww-general" data-events='{
 
378            "author": "$NombreAutor",
 
379            "section": "$section",
 
380            "post_title": "$title",
 
381            "post_id": "$reserved-article-id.data",
 
382            "author_id": "$IDAutor"
 
383        }'>
 
384    </div>
 
385
 
386    <!-- DATOS PARA SCRIPT DE ACCEDER -->
 
387
 
388    ##PUBLI
 
389    ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
 
390
 
391	<!-- /1021010/v_top -->
 
392	<div id='div-gpt-ad-1731442118904-0' class="mt-3 op12" style='min-width: 300px; min-height: 50px;'>
 
393	  <script>
 
394	    googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442118904-0'); });
 
395	  </script>
 
396	</div>
 
397
 
398	<div id="ImagenPrincipalE" class="container-fluid" itemprop="image">
 
399		## IMAGEN
 
400		##getMultimediaMixed_v1("fullcontent", "crop_2000x1125", "800", "auto", "100%")
 
401		$!articleToolbox.getImageTag2("Image","0","crop_2000x1125","","","","true","$!title","$!title","100%")
 
402		<a href="/"><div class="icon_home"></div></a>
 
403	</div>
 
404
 
405	<div id="container_titleE" class="container title">
 
406		#set($hmSpec = {})
 
407		#getAcAssignedCatExtended_v1($hmSpec "marcadores")
 
408		
 
409		##HEADLINE
 
410		<div class="headline">
 
411			
 
412			#if($hmSpec && $hmSpec.size() > 0 && $hmSpec.get(0).name == "Especial")
 
413				<div class="box_marc">
 
414					<div class="marc">Especial</div>
 
415				</div>
 
416			#end
 
417			<h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
 
418		</div>
 
419	</div>
 
420
 
421    <div class="container2" >
 
422
 
423        ##AUTOR
 
424        <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
 
425            #set($hmAutores = {})
 
426            #getAcAssignedCatExtended_v1($hmAutores "Author")
 
427            #if($hmAutores && $hmAutores.size() > 0)
 
428            #foreach ($elem in $hmAutores)
 
429                #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
430                #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","true","",""))
 
431                <div class="img_author">
 
432                #if($imgAuthor && $imgAuthor != "")
 
433                    $!imgAuthor
 
434                #else
 
435                    <img class="img-fluid" src="$AuthorNoFoto"/>
 
436                #end					
 
437                </div>
 
438                <div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
 
439            #end
 
440            #end
 
441        </div>
 
442
 
443        ##PAYWALL HIT MAS
 
444        <script>
 
445            $(document).ready(function() {
 
446            var title = "$!escapeTool.html($!title)";
 
447            sendHitUser(title);
 
448            });
 
449        </script>
 
450
 
451        ##PAYWALL PRODUCT
 
452        #set($product = "")
 
453        #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
454        #if ($article_is_restricted)
 
455            #foreach($products in $articleToolbox.getProductList())
 
456            #set($product = $products.get("name"))
 
457            #end
 
458            <!-- <div id="type-note" data-id="$product"></div> -->
 
459        #end
 
460    
 
461    
 
462        ##USUARIO ANONIMO
 
463                #if ($environment != 'PREVIEW')
 
464        #php_if("strlen(getenv('ITER_USER'))===0")
 
465            #if($product == "registrados")
 
466            #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
 
467            #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
 
468            <script>
 
469            var cons = ${cons};
 
470            var total = ${total};
 
471            var disp = total-cons;
 
472            $(".paywall-title span").html(disp);
 
473            </script>
 
474            #end
 
475            
 
476        #php_end
 
477                #end
 
478
 
479        ##FIN USUARIO ANONIMO
 
480
 
481
 
482        #set ($Entradilla = $articleToolbox.getTag(null,"Lead").data)
 
483
 
484        ##SUBHEADLINE/TOPHEADLINE
 
485        #set ($tempSubheadline = "#getTeaserSubheadline(true)")
 
486        #if ($tempSubheadline && $tempSubheadline != "")
 
487        <h2 class="subheadline" itemprop="alternativeHeadline">#getTeaserSubheadline_v1(false)</h2>
 
488        #else
 
489        <h2 class="subheadline" itemprop="alternativeHeadline">$Entradilla</h2>
 
490        #end
 
491
 
492	<!-- /1021010/v_mid1 -->
 
493	<div id='div-gpt-ad-1731442625533-0' class="op12" style='min-width: 300px; min-height: 50px;'>
 
494	  <script>
 
495	    googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442625533-0'); });
 
496	  </script>
 
497	</div>
 
498    
 
499        <div class="info-rrss">
 
500            ## SECC / FECHA
 
501            <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
 
502        </div>
 
503
 
504
 
505
 
506        <div class="rrss end d-movil" style="
 
507        position: sticky;
 
508        top: 38px;
 
509        background: white;
 
510        z-index: 3;">
 
511            <div class="cab-rrss">COMPARTIR</div>
 
512            <div class="network-social" style="height: 100px;margin-top: -27px;"> 
 
513                <ul class="social-options"> 
 
514                    <li> 
 
515                        <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
516                            <div class="fab facebook"></div>
 
517                        </a> 
 
518                    </li> 
 
519                    <li> 
 
520                        <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&amp;url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter"> 
 
521
 
522                            <div class="fab twitter"></div>
 
523                        </a> 
 
524                    </li>  
 
525                    <li> 
 
526                        <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
527                            <div class="fab whatsapp"></div>									
 
528                        </a> 
 
529                    </li>  
 
530                                                        <li> 
 
531                        <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
532                                            <div class="fab linkedin"></div>								
 
533                        </a> 
 
534                    </li>  
 
535                </ul> 
 
536            </div>							                            
 
537        </div>
 
538
 
539
 
540        <div class="metadatos">
 
541        #set($hmTemas = {})
 
542        #getAcAssignedCatExtended_v1($hmTemas "Topic")
 
543        #set($hmGeografico = {})
 
544        #getAcAssignedCatExtended_v1($hmGeografico "Location")
 
545            ## TAGS
 
546            <div class="temas" temas="$hmTemas.size()">
 
547            #if($hmTemas && $hmTemas.size() > 0)
 
548            #foreach ($elem in $hmTemas)
 
549                <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname"><span class="arrob">#</span>$elem.name</a></div>
 
550                #end
 
551            #end
 
552            #if($hmGeografico && $hmGeografico.size() > 0)
 
553                #foreach ($elem in $hmGeografico)
 
554                <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname"><span class="arrob">#</span>$elem.name</a></div>
 
555                #end
 
556            #end
 
557            </div>	
 
558        </div>
 
559
 
560
 
561        <div class="canonical hidden"></div>
 
562
 
563        <!-- acceder save post -->
 
564
 
565        <div id="eww-save-post" eww-post-title="$title" data-post-id="$reserved-article-id.data" data-events='{
 
566            "author": "$NombreAutor",
 
567            "section": "$section",
 
568            "post_title": "$title",
 
569            "post_id": "$reserved-article-id.data",
 
570            "author_id": "$IDAutor"
 
571            }' ></div> 
 
572        <!-- acceder save post -->
 
573
 
574        <div id="col-60-40-top-one-col" data-post-type="$product" data-section="$section" data-events='{
 
575            "author": "$NombreAutor",
 
576            "section": "$section",
 
577            "post_title": "$title",
 
578            "post_id": "$reserved-article-id.data",
 
579            "author_id": "$IDAutor"
 
580          }'>
 
581
 
582					#if($product == "suscripciones" )
 
583					    <meta itemprop="isAccessibleForFree" content="false" />
 
584					#else
 
585					    <meta itemprop="isAccessibleForFree" content="true" />
 
586					#end
 
587
 
588            ##TEXTO
 
589            <div class="text resizable lazy-load" itemprop="articleBody">
 
590                #printHTMLContentArticle_v1($arrayListContenidos, "crop_full", "100%", "100%", "375", $addInParagraph)
 
591
 
592		<!-- /1021010/v_mid2 -->
 
593		<div id='div-gpt-ad-1731442700127-0' class="op12" style='min-width: 300px; min-height: 50px;'>
 
594		  <script>
 
595		    googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442700127-0'); });
 
596		  </script>
 
597		</div>
 
598            </div>
 
599
 
600        </div>
 
601
 
602        ##PUBLI
 
603        ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
 
604
 
605        ##GENÉRICOS
 
606        #if($Generic && $Generic.getSiblings().size()>0)
 
607            <ul class="generic">
 
608            #foreach ($el in $Generic.getSiblings())
 
609                <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
 
610            #end
 
611            </ul>
 
612        #end
 
613
 
614        ##RELACIONADAS EXTERNAS 
 
615        #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
 
616        #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
 
617        #if(($urlLink && $urlLink.data != "")  && ($titleLink && $titleLink.data != ""))
 
618            <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
 
619            <strong>$!titleLink.data</strong>
 
620            </a>
 
621        #end
 
622    
 
623        ##RELACIONADAS INTERNAS 
 
624        #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
 
625            <div class="link_tpi">
 
626            <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
 
627            #foreach ($el in $linkIntTitle.getSiblings())
 
628                <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
 
629            #end
 
630            </div>
 
631        #end
 
632
 
633    
 
634        ##PUBLI
 
635        ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
 
636                                    
 
637    
 
638        ##class="icon_vanguardia"
 
639        <div class="fb-comments">
 
640            #set($urlfb = $canonicalUrl)
 
641            #foreach ($element in $urlfb.split("-"))
 
642            #set($urlid = $element)
 
643            #end
 
644            #set($urlfb = "FB-" + $urlid)
 
645        
 
646        <fb:comments href="#siteUrl()/$urlfb" num_posts="10" width="100%" colorscheme="light" ></fb:comments>
 
647
 
648        <!-- comentarios acceder -->
 
649
 
650	<!-- /1021010/v_mid3 -->
 
651	<div id='div-gpt-ad-1731442775467-0' class="op12" style='min-width: 300px; min-height: 50px;'>
 
652	  <script>
 
653	    googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442775467-0'); });
 
654	  </script>
 
655	</div>
 
656
 
657		<div style="border-top: solid 1px #80808047;margin-top: 30px;">
 
658	<h2 style="margin-top: 25px;
 
659		font-size: 1.1rem;
 
660		letter-spacing: 0px !important;
 
661		border-left: 4px solid #F16504;
 
662		padding-left: 5px;
 
663		text-transform: uppercase;
 
664		font-family: 'PT Sans', helvetica, arial, sans-serif;
 
665		font-weight: 400;"
 
666		 >COMENTARIOS <h2></div>
 
667            <div id="eww-comments" data-post-id="$reserved-article-id.data"  data-events='{
 
668                "author": "$NombreAutor",
 
669                "section": "$section",
 
670                "post_title": "$title",
 
671                "post_id": "$reserved-article-id.data",
 
672                "author_id": "$IDAutor"
 
673                }'></div>
 
674        <!-- comentarios acceder -->
 
675
 
676        <div id="eww-mailchimp"></div>
 
677
 
678        ##openweb
 
679
 
680        ##cierra openweb
 
681
 
682	<!-- /1021010/v_bot -->
 
683	<div id='div-gpt-ad-1731442807257-0' class="mt-3 op12" style='min-width: 300px; min-height: 50px;'>
 
684	  <script>
 
685	    googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442807257-0'); });
 
686	  </script>
 
687	</div>
 
688
 
689        #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
690            ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
691            <div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div>
 
692        #php_end
 
693
 
694        ##PUBLI
 
695        ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>	
 
696        </div>
 
697
 
698        
 
699    </div>
 
700
 
701</article>
 
702
 
703
 
704<!-- Estilo para Lista sin Plublicidad -->
 
705
 
706<script>
 
707    document.addEventListener('DOMContentLoaded', function() {
 
708        // Obtener todos los div con la clase block_Parrafo_Lista
 
709        var blocks = document.querySelectorAll('.block_Parrafo_Lista');
 
710
 
711        // Iterar a través de los bloques
 
712        blocks.forEach(function(block) {
 
713            // Obtener todos los elementos <p> dentro del bloque actual
 
714            var paragraphs = block.querySelectorAll('p');
 
715            var combinedContent = '';
 
716            var elementsToRemove = [];
 
717
 
718            // Iterar a través de los elementos <p>
 
719            paragraphs.forEach(function(paragraph) {
 
720                // Verificar si el <p> no tiene clase
 
721                if (!paragraph.classList.length) {
 
722                    // Añadir contenido al texto combinado
 
723                    combinedContent += paragraph.innerHTML.trim() + ' ';
 
724                    // Marcar el elemento <p> para eliminación
 
725                    elementsToRemove.push(paragraph);
 
726                }
 
727            });
 
728
 
729            // Crear un nuevo <p> para el contenido combinado
 
730            if (combinedContent.trim()) {
 
731                var newParagraph = document.createElement('p');
 
732                newParagraph.innerHTML = combinedContent.trim();
 
733                block.appendChild(newParagraph);
 
734            }
 
735
 
736            // Eliminar los elementos <p> originales que fueron combinados
 
737            elementsToRemove.forEach(function(element) {
 
738                element.remove();
 
739            });
 
740        });
 
741    });
 
742</script>
 
743
 
744<script>
 
745
 
746document.addEventListener('DOMContentLoaded', function() {
 
747    // Selecciona todos los elementos div con las clases "lead destacado"
 
748    var elements = document.querySelectorAll('div.lead.destacado');
 
749    
 
750    // Itera sobre cada elemento y agrega el atributo itemprop="description"
 
751    elements.forEach(function(element) {
 
752        element.setAttribute('itemprop', 'description');
 
753    });
 
754});
 
755
 
756</script>
 
757
 
758
 
759<style>
 
760    div.block_Parrafo_Lista p{
 
761    margin: 0px !important;
 
762    }
 
763     div.block_Parrafo_Lista p b{
 
764		height: auto;
 
765		display: block;
 
766margin-top: 10px;
 
767     }
 
768</style>
 
769<!-- Estilo para Lista sin Plublicidad -->