Open aneeshsudhakaran opened 6 years ago
Soln 1 : Pass a variable from controller and check in ISML
<isif condition="${ typeof (pdict.showHrefLangs) === 'boolean' && typeof (pdict.showHrefLangs) != 'undefined' }"> <isloop items="${ dw.system.Site.getAllSites() }" var="allSite" status="allSiteloopstate"> <link rel="alternate" hreflang="${allSite.defaultLocale}" href="${allSite.httpsHostName}" /> </isloop> </isif>
Soln 1 : Pass a variable from controller and check in ISML