public override void Process(TagHelperContext tagHelperContext, TagHelperOutput tagHelperOutput) { if (string.Equals(tagHelperContext.TagName, "head", StringComparison.OrdinalIgnoreCase)) { foreach (var metadata in _metaService.GetMetadata()) { tagHelperOutput.PostContent.AppendHtml($"<meta name=\"{metadata.Key}\" content=\"{metadata.Value}\" /> \r\n"); } } }