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            "autor_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-7320176-1' class='mt-3 op12' style='min-width: 160px; min-height: 50px;'>
 
393    <script>
 
394        googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-1'); });
 
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	<div id='div-gpt-ad-7320176-2' class="op12" style="min-width: 300px; min-height: 50px;">
 
493	  <script>
 
494	    googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-2'); });
 
495	  </script>
 
496	</div>
 
497    
 
498        <div class="info-rrss">
 
499            ## SECC / FECHA
 
500            <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
 
501        </div>
 
502
 
503
 
504
 
505        <div class="rrss end d-movil" style="
 
506        position: sticky;
 
507        top: 38px;
 
508        background: white;
 
509        z-index: 3;">
 
510            <div class="cab-rrss">COMPARTIR</div>
 
511            <div class="network-social" style="height: 100px;margin-top: -27px;"> 
 
512                <ul class="social-options"> 
 
513                    <li> 
 
514                        <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
515                            <div class="fab facebook"></div>
 
516                        </a> 
 
517                    </li> 
 
518                    <li> 
 
519                        <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"> 
 
520
 
521                            <div class="fab twitter"></div>
 
522                        </a> 
 
523                    </li>  
 
524                    <li> 
 
525                        <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
526                            <div class="fab whatsapp"></div>									
 
527                        </a> 
 
528                    </li>  
 
529                                                        <li> 
 
530                        <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
531                                            <div class="fab linkedin"></div>								
 
532                        </a> 
 
533                    </li>  
 
534                </ul> 
 
535            </div>							                            
 
536        </div>
 
537
 
538
 
539        <div class="metadatos">
 
540        #set($hmTemas = {})
 
541        #getAcAssignedCatExtended_v1($hmTemas "Topic")
 
542        #set($hmGeografico = {})
 
543        #getAcAssignedCatExtended_v1($hmGeografico "Location")
 
544            ## TAGS
 
545            <div class="temas" temas="$hmTemas.size()">
 
546            #if($hmTemas && $hmTemas.size() > 0)
 
547            #foreach ($elem in $hmTemas)
 
548                <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname"><span class="arrob">#</span>$elem.name</a></div>
 
549                #end
 
550            #end
 
551            #if($hmGeografico && $hmGeografico.size() > 0)
 
552                #foreach ($elem in $hmGeografico)
 
553                <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname"><span class="arrob">#</span>$elem.name</a></div>
 
554                #end
 
555            #end
 
556            </div>	
 
557        </div>
 
558
 
559
 
560        <div class="canonical hidden"></div>
 
561
 
562        <!-- acceder save post -->
 
563
 
564        <div id="eww-save-post" eww-post-title="$title" data-post-id="$reserved-article-id.data" data-events='{
 
565            "author": "$NombreAutor",
 
566            "section": "$section",
 
567            "post_title": "$title",
 
568            "post_id": "$reserved-article-id.data",
 
569            "autor_id": "$IDAutor"
 
570            }' ></div> 
 
571        <!-- acceder save post -->
 
572
 
573        <div id="col-60-40-top-one-col" data-post-type="$product" data-section="$section" data-events='{
 
574            "author": "$NombreAutor",
 
575            "section": "$section",
 
576            "post_title": "$title",
 
577            "post_id": "$reserved-article-id.data",
 
578            "autor_id": "$IDAutor"
 
579          }'>
 
580
 
581            ##TEXTO
 
582            <div class="text resizable lazy-load" itemprop="articleBody">
 
583                #printHTMLContentArticle_v1($arrayListContenidos, "crop_full", "100%", "100%", "375", $addInParagraph)
 
584            </div>
 
585
 
586        </div>
 
587
 
588        ##PUBLI
 
589        ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
 
590
 
591        ##GENÉRICOS
 
592        #if($Generic && $Generic.getSiblings().size()>0)
 
593            <ul class="generic">
 
594            #foreach ($el in $Generic.getSiblings())
 
595                <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
 
596            #end
 
597            </ul>
 
598        #end
 
599
 
600        ##RELACIONADAS EXTERNAS 
 
601        #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
 
602        #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
 
603        #if(($urlLink && $urlLink.data != "")  && ($titleLink && $titleLink.data != ""))
 
604            <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
 
605            <strong>$!titleLink.data</strong>
 
606            </a>
 
607        #end
 
608    
 
609        ##RELACIONADAS INTERNAS 
 
610        #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
 
611            <div class="link_tpi">
 
612            <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
 
613            #foreach ($el in $linkIntTitle.getSiblings())
 
614                <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
 
615            #end
 
616            </div>
 
617        #end
 
618
 
619    
 
620        ##PUBLI
 
621        ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
 
622                                    
 
623    
 
624        ##class="icon_vanguardia"
 
625        <div class="fb-comments">
 
626            #set($urlfb = $canonicalUrl)
 
627            #foreach ($element in $urlfb.split("-"))
 
628            #set($urlid = $element)
 
629            #end
 
630            #set($urlfb = "FB-" + $urlid)
 
631        
 
632        <fb:comments href="#siteUrl()/$urlfb" num_posts="10" width="100%" colorscheme="light" ></fb:comments>
 
633
 
634        <!-- comentarios acceder -->
 
635
 
636	<div id='div-gpt-ad-7320176-3' class="op12" style="min-width: 300px; min-height: 50px;">
 
637	  <script>
 
638	    googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-3'); });
 
639	  </script>
 
640	</div>
 
641
 
642		<div style="border-top: solid 1px #80808047;margin-top: 30px;">
 
643	<h2 style="margin-top: 25px;
 
644		font-size: 1.1rem;
 
645		letter-spacing: 0px !important;
 
646		border-left: 4px solid #F16504;
 
647		padding-left: 5px;
 
648		text-transform: uppercase;
 
649		font-family: 'PT Sans', helvetica, arial, sans-serif;
 
650		font-weight: 400;"
 
651		 >COMENTARIOS <h2></div>
 
652            <div id="eww-comments" data-post-id="$reserved-article-id.data"  data-events='{
 
653                "author": "$NombreAutor",
 
654                "section": "$section",
 
655                "post_title": "$title",
 
656                "post_id": "$reserved-article-id.data",
 
657                "autor_id": "$IDAutor"
 
658                }'></div>
 
659        <!-- comentarios acceder -->
 
660
 
661        <div id="eww-mailchimp"></div>
 
662
 
663        ##openweb
 
664
 
665        ##cierra openweb
 
666
 
667        <!-- /1021010/v_bot -->
 
668        <div id='div-gpt-ad-7320176-4' class='mt-3 op12' style='min-width: 160px; min-height: 50px;'>
 
669        <script>
 
670            googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-4'); });
 
671        </script>
 
672        </div>
 
673
 
674        #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
675            ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
676            <div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div>
 
677        #php_end
 
678
 
679        ##PUBLI
 
680        ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>	
 
681        </div>
 
682
 
683        
 
684    </div>
 
685
 
686</article>
 
687
 
688
 
689<!-- Estilo para Lista sin Plublicidad -->
 
690
 
691<script>
 
692    document.addEventListener('DOMContentLoaded', function() {
 
693        // Obtener todos los div con la clase block_Parrafo_Lista
 
694        var blocks = document.querySelectorAll('.block_Parrafo_Lista');
 
695
 
696        // Iterar a través de los bloques
 
697        blocks.forEach(function(block) {
 
698            // Obtener todos los elementos <p> dentro del bloque actual
 
699            var paragraphs = block.querySelectorAll('p');
 
700            var combinedContent = '';
 
701            var elementsToRemove = [];
 
702
 
703            // Iterar a través de los elementos <p>
 
704            paragraphs.forEach(function(paragraph) {
 
705                // Verificar si el <p> no tiene clase
 
706                if (!paragraph.classList.length) {
 
707                    // Añadir contenido al texto combinado
 
708                    combinedContent += paragraph.innerHTML.trim() + ' ';
 
709                    // Marcar el elemento <p> para eliminación
 
710                    elementsToRemove.push(paragraph);
 
711                }
 
712            });
 
713
 
714            // Crear un nuevo <p> para el contenido combinado
 
715            if (combinedContent.trim()) {
 
716                var newParagraph = document.createElement('p');
 
717                newParagraph.innerHTML = combinedContent.trim();
 
718                block.appendChild(newParagraph);
 
719            }
 
720
 
721            // Eliminar los elementos <p> originales que fueron combinados
 
722            elementsToRemove.forEach(function(element) {
 
723                element.remove();
 
724            });
 
725        });
 
726    });
 
727</script>
 
728
 
729<script>
 
730
 
731document.addEventListener('DOMContentLoaded', function() {
 
732    // Selecciona todos los elementos div con las clases "lead destacado"
 
733    var elements = document.querySelectorAll('div.lead.destacado');
 
734    
 
735    // Itera sobre cada elemento y agrega el atributo itemprop="description"
 
736    elements.forEach(function(element) {
 
737        element.setAttribute('itemprop', 'description');
 
738    });
 
739});
 
740
 
741</script>
 
742
 
743
 
744<style>
 
745    div.block_Parrafo_Lista p{
 
746    margin: 0px !important;
 
747    }
 
748     div.block_Parrafo_Lista p b{
 
749		height: auto;
 
750		display: block;
 
751margin-top: 10px;
 
752     }
 
753</style>
 
754<!-- Estilo para Lista sin Plublicidad -->