From a135e9bc110cb3337101e7e9d6d29c391430b0fc Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 1 May 2022 11:55:39 +0200 Subject: Add Facebook Page Admin ID support for Domain Insights --- layouts/partials/templates/opengraph.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'layouts/partials/templates/opengraph.html') diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html index 71e040e..55bcbe3 100644 --- a/layouts/partials/templates/opengraph.html +++ b/layouts/partials/templates/opengraph.html @@ -5,9 +5,9 @@ {{- if .Params.cover.image -}} {{- if (ne .Params.cover.relative true) }} - + {{- else }} - + {{- end }} {{- if .Params.cover.width -}} @@ -23,6 +23,10 @@ {{- end }} -{{- /* TODO: add fb:admins and fb:app_id */ -}} - - +{{- /* Facebook Page Admin ID for Domain Insights */}} +{{- with site.Social.facebook_admin }} + +{{- end }} +{{- with site.Social.facebook_id }} + +{{- end }} -- cgit v1.2.3