#set ($spaceOverrideLanding = $themePress.getLogoTargetSpace($spaceKey)) #if ($spaceOverrideLanding) #if ($spaceOverrideLanding.startsWith("~")) #set ($landingUrl = "$req.contextPath/spaces/viewspace.action?key=$spaceOverrideLanding") #else #set ($landingUrl = "$req.contextPath/display/$spaceOverrideLanding") #end #else #set ($landingUrl = "$req.contextPath$brikitCore.siteHomeUrl") #end #set ($logoSrc = $themePress.spaceOverrideLogoURL($spaceKey)) #if ($brikitCore.isSet($logoSrc)) #set ($spaceLogoOverridden = true) #else #set ($themeLogo = $themePress.getLogo($spaceKey)) #if ($brikitCore.isSet($themeLogo)) #set ($logoSrc = "$brikitCore.directURL/designs/themes/$brikitCore.urlEncode($brikitThemeName)/images/$brikitCore.urlEncode($themeLogo)") #end #end #if ($brikitCore.isSet($logoSrc)) #set ($logoHeight = $themePress.logoHeightForTheme($brikitThemeName)) #set ($logoWidth = $themePress.logoWidthForTheme($brikitThemeName)) #if ($spaceLogoOverridden && $brikitCore.isSet($themePress.getSpaceLogoHeight($spaceKey))) #set ($logoHeight = $themePress.getSpaceLogoHeight($spaceKey)) #end #if ($spaceLogoOverridden && $brikitCore.isSet($themePress.getSpaceLogoWidth($spaceKey))) #set ($logoWidth = $themePress.getSpaceLogoWidth($spaceKey)) #end #end