@using BTCPayServer.Services @using Microsoft.AspNetCore.Mvc.TagHelpers @inject PoliciesSettings PoliciesSettings @inject UriResolver UriResolver @{ ViewData.TryGetValue("StoreBranding", out var storeBranding); var store = Context.GetStoreData(); var storeBlob = store?.GetStoreBlob(); var isBackend = store != null && storeBranding == null; if (isBackend && storeBlob.ApplyBrandColorToBackend) { storeBranding = await StoreBrandingViewModel.CreateAsync(Context.Request, UriResolver, storeBlob); } } @if (PoliciesSettings.DiscourageSearchEngines) { }