diff options
Diffstat (limited to 'layouts/partials/og.html')
-rw-r--r-- | layouts/partials/og.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/partials/og.html b/layouts/partials/og.html index 47ac989..077740a 100644 --- a/layouts/partials/og.html +++ b/layouts/partials/og.html @@ -1,8 +1,8 @@ -<meta property="og:title" content="{{ if .Params.ogtitle }}{{ .Params.ogtitle }}{{ else }}{{ .Title }}{{ end }}" /> -<meta property="og:description" content="{{ if .Params.ogdescription }}{{ .Params.ogdescription }}{{ else }}{{ .Description }}{{ end }}" /> -<meta property="og:type" content="website" /> -<meta property="og:locale" content="en_US" /> -<meta property="og:url" content="{{ .Permalink }}" /> -{{ if .Params.ogimage }} -<meta property="og:image" content="{{ .Params.ogimage }}" /> -{{ end }}
\ No newline at end of file + <meta property="og:title" content="{{ if .Params.ogtitle }}{{ .Params.ogtitle }}{{ else }}{{ .Title }}{{ end }}" /> + <meta property="og:description" content="{{ if .Params.ogdescription }}{{ .Params.ogdescription }}{{ else }}{{ .Site.Params.Description }}{{ end }}" /> + <meta property="og:type" content="website" /> + <meta property="og:locale" content="en_US" /> + <meta property="og:url" content="{{ .Permalink }}" /> + {{ if .Params.ogimage }} + <meta property="og:image" content="{{ .Params.ogimage }}" /> + {{ end }}
\ No newline at end of file |