public string ResolveRockUrl( string url ) { string themeUrl = url; if ( url.StartsWith( "~~" ) ) { string theme = "Rock"; if ( _pageCache != null ) { theme = _pageCache.Layout.Site.Theme; } themeUrl = "~/Themes/" + theme + ( url.Length > 2 ? url.Substring( 2 ) : string.Empty ); } return ResolveUrl( themeUrl ); }