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