WorkInProgress - F.lli Tallia di Delfino
An error occurred while processing the template.
The following has evaluated to null or missing: ==> TitoloSecondoLink [in template "20116#20152#331222" at line 17, column 11] ---- Tip: If the failing expression is known to be 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: #if TitoloSecondoLink.getData()?has_c... [in template "20116#20152#331222" at line 17, column 6] ----
1<div class="homepage-carousel">
2 <#if image.getSiblings()?has_content>
3 <div class="slider" data-arrows="false" data-autoplay="true" data-autoplaySpeed="3000" data-slidesToShow="1" data-slidesToScroll="1" data-dots="false" data-infinite="true" data-speed="3000", data-touchMove="false", data-fade="true", data-pauseOnHover="false" data-pauseOnFocus="false">
4 <#list image.getSiblings() as background>
5 <#assign background_css = "none" />
6 <#if background.getData()?has_content>
7 <#assign background_css = "url(" + background.getData() + ")" />
8 </#if>
9 <div class="background-slide" style="background-image:${background_css}">
10 <div class="shadow"></div>
11 </div>
12 </#list>
13 </div>
14 </#if>
15
16 <div class="text-container">
17 <#if TitoloSecondoLink.getData()?has_content>
18 <div class="textbox1">
19 <h1 class="title">${TitoloSecondoLink.getData()}</h1>
20
21 <#if label.getData()?has_content>
22 <#if CollegamentoSecondoLink.getData()?has_content>
23 <a href="${CollegamentoSecondoLink.getFriendlyUrl()?html}" class="button">
24 ${label.getData()?html}
25 </a>
26 </#if>
27 </#if>
28 </div>
29 </#if>
30
31
32 <div class="textbox2">
33 <#if title.getData()?has_content>
34 <h1 class="title">${title.getData()}</h1>
35 </#if>
36 <#if subtitle.getData()?has_content>
37 <div class="subtitle">${subtitle.getData()}</div>
38 </#if>
39 <#if label.getData()?has_content>
40 <#assign label = label.getData() />
41 <#if externalLink.getData()?has_content>
42 <a href="${externalLink.getData()?html}" class="button" target="_blank">
43 ${label?html}
44 </a>
45 <#elseif internalLink.getData()?has_content>
46 <a href="${internalLink.getFriendlyUrl()?html}" class="button">
47 ${label?html}
48 </a>
49 </#if>
50 </#if>
51 </div>
52
53 </div>
54 <#if scrolldown.getData()?? && scrolldown.getData() != "">
55 <div style="width:100%;position:absolute;bottom:30px;left:0px;text-align:center">
56 <img data-fileentryid="${scrolldown.getAttribute("fileEntryId")}" alt="${scrolldown.getAttribute("alt")}" src="${scrolldown.getData()}" style="width:80px"/>
57</div></#if>
58 </div>
59 <style>
60 .homepage-carousel .text-container {
61 display:flex;
62 justify-content:center;
63 }
64
65
66 .homepage-carousel .textbox1,
67 .homepage-carousel .textbox2 {width:50%;padding:40px !important}
68
69 .homepage-carousel .textbox1{border-right: solid 2px white;}
70
71 @media(max-width:999px){
72 .homepage-carousel .text-container {flex-direction:column}
73 .homepage-carousel .textbox1,
74 .homepage-carousel .textbox2 {width:100%;border-right:none}
75 }
76 </style>