@using OliverBooth.Data.Blog @using OliverBooth.Services @inject IBlogPostService BlogPostService @{ 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) {