@using OliverBooth.Common.Data.Web.Users @using OliverBooth.Common.Services @using OliverBooth.Common.Data.Blog @inject IBlogPostService BlogPostService @inject IUserService UserService @inject ISessionService SessionService @{ HttpRequest request = Context.Request; var url = new Uri($"{request.Scheme}://{request.Host}{request.Path}{request.QueryString}"); bool doAprilFools = DateOnly.FromDateTime(DateTime.UtcNow) == new DateOnly(2024, 04, 01) || Environment.GetEnvironmentVariable("DO_AF") == "1"; }
@if (ViewData["Title"] != null) {