diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html
index aec9bd3..5d276de 100644
--- a/layouts/partials/opengraph.html
+++ b/layouts/partials/opengraph.html
@@ -1,3 +1,24 @@
+
@@ -7,7 +28,8 @@
{{ end }}{{ end }}
{{ if .IsPage }}
-{{ if not .Date.IsZero }}{{ end }}
+{{ if not .PublishDate.IsZero }}
+{{ else if not .Date.IsZero }}{{ end }}
{{ if not .Lastmod.IsZero }}{{ end }}
{{ else }}
{{ if not .Site.LastChange.IsZero }}{{ end }}
@@ -33,8 +55,6 @@
{{ range .Site.Authors }}{{ with .Social.facebook }}
{{ end }}{{ with .Site.Social.facebook }}
{{ end }}
-
-
{{ with .Params.tags }}{{ range first 6 . }}
{{ end }}{{ end }}