We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 123d11b commit a6f3169Copy full SHA for a6f3169
OpenGraph.types.ps1xml
@@ -10,9 +10,12 @@
10
if ($this.Description) {
11
"<meta name='description' content='$([Web.HttpUtility]::HtmlAttributeEncode($this.Description))' />"
12
}
13
- if ($this.PrivateData.PSData.IconUri) {
14
-
+ if ($this.Author) {
+ "<meta name='article:author' content='$([Web.HttpUtility]::HtmlAttributeEncode($this.Author))' />"
15
16
+ if ($this.PrivateData.PSData.IconUri) {
17
+ "<meta property='og:image' content='$([Web.HttpUtility]::HtmlAttributeEncode($this.PrivateData.PSData.IconUri))' />"
18
+ }
19
} else {
20
foreach ($property in $this.PSObject.Properties) {
21
if ($property.Name -match ':') {
0 commit comments