public bool HasMeta(string key) => PostMeta.Any(w => w.Key == key);
        //public bool HasImage(string key) => Images.Any(w => w.Type.GetDescription() == key);

        //[Obsolete("Replaced with GetImage(ImageType type)", true)]
        //public string GetImage(string key) => Images.FirstOrDefault(w => w.Type.GetDescription() == key)?.Name;

        //public string? GetImage(ImageType type) => Images.FirstOrDefault(w => w.Type == type)?.Name;

        public string?GetMeta(string key) => PostMeta.FirstOrDefault(w => w.Key == key)?.Value;
        //[NotMapped]
        //public List<Image> Images
        //{
        //    get
        //    {
        //        if (!_images.Any())
        //        {
        //            _images = ImageNameExtractor.Extract(Meta(FeaturedImageMetaKey));
        //        }

        //        return _images;
        //    }
        //}

        //[NotMapped] public string FeaturedImageAlt => Meta(FeaturedImageAltMetaKey) ?? Title;

        public string?Meta(string key) => string.IsNullOrWhiteSpace(key) ? null : PostMeta.FirstOrDefault(w => w.Key == key)?.Value;