diff --git a/Jafner.dev/layouts/partials/head.html b/Jafner.dev/layouts/partials/head.html index f00ffdee..e48f9b37 100644 --- a/Jafner.dev/layouts/partials/head.html +++ b/Jafner.dev/layouts/partials/head.html @@ -37,6 +37,7 @@ {{ template "_internal/schema.html" . }} {{ template "_internal/twitter_cards.html" . }} +{{ template "_internal/opengraph.html" . }} {{ range .Params.categories }} diff --git a/Jafner.dev/layouts/partials/opengraph.html b/Jafner.dev/layouts/partials/opengraph.html new file mode 100644 index 00000000..18af3fda --- /dev/null +++ b/Jafner.dev/layouts/partials/opengraph.html @@ -0,0 +1,18 @@ + + + + + +{{- if .IsPage }} +{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} + +{{ with .PublishDate }}{{ end }} +{{ with .Lastmod }}{{ end }} +{{- end -}} + +{{- with .Params.audio }}{{ end }} +{{- with .Params.locale }}{{ end }} +{{- with .Site.Params.title }}{{ end }} +{{- with .Params.videos }}{{- range . }} + +{{ end }}{{ end }}