We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca64404 commit 123d11bCopy full SHA for 123d11b
Types/OpenGraph/get_HTML.ps1
@@ -2,9 +2,12 @@
2
if ($this.Description) {
3
"<meta name='description' content='$([Web.HttpUtility]::HtmlAttributeEncode($this.Description))' />"
4
}
5
- if ($this.PrivateData.PSData.IconUri) {
6
-
+ if ($this.Author) {
+ "<meta name='article:author' content='$([Web.HttpUtility]::HtmlAttributeEncode($this.Author))' />"
7
8
+ if ($this.PrivateData.PSData.IconUri) {
9
+ "<meta property='og:image' content='$([Web.HttpUtility]::HtmlAttributeEncode($this.PrivateData.PSData.IconUri))' />"
10
+ }
11
} else {
12
foreach ($property in $this.PSObject.Properties) {
13
if ($property.Name -match ':') {
0 commit comments