Um erro ocorreu enquanto processava o modelo.
Failed to "?eval" string with this error:
---begin-message---
Syntax error in ?eval-ed string in line 1, column 103:
Lexical error: encountered "u" (117), after "\"TARDE COM ARTE \\".
---end-message---
The failing expression:
==> extraContent.getData()?eval [in template "20116#20152#73052" at line 203, column 30]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign article = extraContent.getDat... [in template "20116#20152#73052" at line 203, column 11]
----
1<#assign ogImage = mainImage.imageResume.getData()!"">
2<#if !ogImage?has_content>
3 <#assign ogImage = mainImage.imageDetail.getData()!"">
4</#if>
5<#if ogImage?has_content && !ogImage?starts_with("http")>
6 <#assign ogImage = themeDisplay.getPortalURL() + ogImage>
7</#if>
8
9<@liferay_util["html-top"] outputKey="og-news-image-${.vars['reserved-article-id'].data}">
10 <#if ogImage?has_content>
11 <meta property="og:image" content="${ogImage?html}" />
12 <meta property="og:image:secure_url" content="${ogImage?html}" />
13 </#if>
14 <#if .vars['reserved-article-description'].data?has_content>
15 <meta property="og:description" content="${.vars['reserved-article-description'].data?html}" />
16 </#if>
17</@>
18<#assign displaydate = .vars['reserved-article-display-date'].data>
19<#assign originalLocale = .locale>
20<#setting locale = localeUtil.getDefault()>
21<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")?string["EEE, d MMMM yyyy HH:mm"]>
22<#assign locale = originalLocale>
23
24<#assign hasVideoGallery = false />
25<#assign hasImageGallery = false />
26
27<div class="news-event">
28 <div class="news-events__main-content">
29
30 <p class="news-events__date">
31 ${displaydate}
32 </p>
33
34 <h1 class="news-events__title">
35 ${.vars['reserved-article-title'].data}
36 </h1>
37
38 <#if .vars['reserved-article-description'].data != "">
39 <h2 class="news-events__subtitle">
40 ${.vars['reserved-article-description'].data}
41 </h2>
42
43 <hr class="divider">
44 </#if>
45
46 <#if mainImage.imageDetail.getData() != "">
47 <figure class="news-events__main-figure">
48 <img class="news-events__main-image" src="${mainImage.imageDetail.getData()}" alt="${mainImage.imageAlt.getData()}">
49
50 <#if mainImage.imageAlt.getData() != "">
51 <figcaption class="news-events__main-image__caption">
52 ${mainImage.imageAlt.getData()}
53 </figcaption>
54 </#if>
55 </figure>
56 </#if>
57
58 ${bodyNews.getData()}
59
60 <#if imageGallery.facebook.getData() != "">
61 <p>
62 Veja a galeria em <a href="${imageGallery.facebook.getData()}" target="_blank">Facebook</a>
63 </p>
64 </#if>
65 <#if imageGallery.instagram.getData() != "">
66 <p>
67 Veja a galeria em <a href="${imageGallery.instagram.getData()}" target="_blank">Instagram</a>
68 </p>
69 </#if>
70
71 <#assign galleryColumnClass = "col-md-12" />
72
73 <#list imageGallery.images.getSiblings() as image>
74 <#if image.getData() != "">
75 <#assign hasImageGallery = true />
76 <#break>
77 </#if>
78 </#list>
79
80 <#list videoGallery.videos.getSiblings() as video>
81 <#if video.videoYoutubeID.getData() != "" || video.videoSource.getData() != "">
82 <#assign hasVideoGallery = true />
83 <#break>
84 </#if>
85 </#list>
86
87 <#if hasImageGallery && hasVideoGallery>
88 <#assign galleryColumnClass = "col-md-6">
89
90 <div class="row">
91 <#if hasImageGallery>
92 <div class="gallery-image ${galleryColumnClass}">
93
94 <#list imageGallery.images.getSiblings() as image>
95 <#if image?is_first>
96 <a class="gallery-thumb gallery-thumb--image" href="${image.getData()}">
97
98 <figure class="gallery-thumb__image-wrapper">
99 <img class="gallery-thumb__image" src="${image.getData()}" alt="${image.galleryImageAlt.getData()}">
100 </figure>
101
102 <p class="gallery-thumb__text">
103 Ver imagens
104 </p>
105 </a>
106
107 <#else>
108
109 <a class="hide" href="${image.getData()}">
110 <img src="${image.getData()}" alt="${image.galleryImageAlt.getData()}" />
111 </a>
112 </#if>
113 </#list>
114
115 </div>
116 </#if>
117
118 <#if hasVideoGallery>
119 <div class="gallery-video ${galleryColumnClass}">
120
121 <#list videoGallery.videos.getSiblings() as video>
122 <#if video?is_first>
123
124 <#if video.videoYoutubeID.getData() == "">
125 <a class="gallery-thumb gallery-thumb--video" href=""
126 data-download-url="${video.videoSource.getData()}"
127 data-poster="${video.videoCover.getData()}"
128 data-html="#gallery-video-item-1-${randomNamespace}"
129 data-sub-html="${video.videoDescription.getData()}">
130
131 <figure class="gallery-thumb__image-wrapper">
132 <img class="gallery-thumb__image" src="${video.videoCover.getData()}">
133 </figure>
134
135 <p class="gallery-thumb__text">
136 Ver vídeos
137 </p>
138 </a>
139
140 <#else>
141
142 <a class="gallery-thumb gallery-thumb--video" href="https://www.youtube.com/watch?v=${video.videoYoutubeID.getData()}"
143 data-sub-html="${video.videoDescription.getData()}">
144
145 <figure class="gallery-thumb__image-wrapper">
146 <img class="gallery-thumb__image" src="${video.videoCover.getData()}">
147 </figure>
148
149 <p class="gallery-thumb__text">
150 Ver vídeos
151 </p>
152 </a>
153
154 </#if>
155
156 <#else>
157
158 <#if video.videoYoutubeID.getData() == "">
159 <a class="hide" href=""
160 data-download-url="${video.videoSource.getData()}"
161 data-poster="${video.videoCover.getData()}"
162 data-html="#gallery-video-item-${video?counter}-${randomNamespace}"
163 data-sub-html="${video.videoDescription.getData()}">
164 Video Trigger
165 </a>
166
167 <#else>
168
169 <a class="hide" href="https://www.youtube.com/watch?v=${video.videoYoutubeID.getData()}"
170 data-sub-html="${video.videoDescription.getData()}">
171 Video Trigger
172 </a>
173
174 </#if>
175 </#if>
176
177 </#list>
178 </div>
179
180 <div class="hide">
181 <#list videoGallery.videos.getSiblings() as video>
182
183 <#if video.videoYoutubeID.getData() == "">
184 <div id="gallery-video-item-${video?counter}-${randomNamespace}">
185
186 <video class="lg-video-object lg-html5" controls preload="none">
187 <source src="${video.videoSource.getData()}" type="video/mp4">
188 Seu navegador não suporta HTML 5 vídeos
189 </video>
190
191 </div>
192 </#if>
193
194 </#list>
195 </div>
196 </#if>
197 </div>
198 </#if>
199
200 <#if extraContents.getData() != "">
201 <#list extraContents.getSiblings() as extraContent>
202 <div class="margin--vertical">
203 <#assign article = extraContent.getData()?eval />
204 <@liferay_asset["asset-display"]
205 className=article.className
206 classPK=getterUtil.getLong(article.classPK, 0)
207 template="full_content"
208 />
209 </div>
210 </#list>
211 </#if>
212 </div>
213</div>