We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbe4116 commit ca15193Copy full SHA for ca15193
src/Elastic.Markdown/Slices/Index.cshtml
@@ -36,13 +36,17 @@
36
};
37
protected override Task ExecuteSectionAsync(string name)
38
{
39
+ if (name == GlobalSections.Head)
40
+ {
41
+ <meta class="elastic" name="product_version" content="@Model.CurrentVersion"/>
42
+ <meta name="DC.identifier" content="@Model.CurrentVersion"/>
43
+ }
44
if (name == GlobalSections.Head && Model.Products is { Count: > 0 })
45
46
var products = string.Join(",", Model.Products.Select(p => p.DisplayName));
47
<meta class="elastic" name="product_name" content="@(products)"/>
48
<meta name="DC.subject" content="@(products)"/>
49
}
-
50
return Task.CompletedTask;
51
52
0 commit comments