From 4c70f6a3a6d780c2933585dbfb8fb72a4bc75c12 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 1 May 2022 11:08:16 +0200 Subject: Rework opengraph support --- layouts/partials/templates/opengraph.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 layouts/partials/templates/opengraph.html (limited to 'layouts/partials/templates') diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html new file mode 100644 index 0000000..71e040e --- /dev/null +++ b/layouts/partials/templates/opengraph.html @@ -0,0 +1,28 @@ + + + + + +{{- if .Params.cover.image -}} + {{- if (ne .Params.cover.relative true) }} + + {{- else }} + + {{- end }} + + {{- if .Params.cover.width -}} + + {{- end }} + + {{- if .Params.cover.height -}} + + {{- end }} +{{- else }} + + + +{{- end }} + +{{- /* TODO: add fb:admins and fb:app_id */ -}} + + -- cgit v1.2.3