From 779665773e4d13e9e1493e67ba3a9b34afed2fc0 Mon Sep 17 00:00:00 2001 From: "Mr. Senko" Date: Thu, 31 Mar 2016 22:41:26 +0300 Subject: [PATCH] Add new setting - FACEBOOK_ADMINS --- README.md | 3 +++ templates/base.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 5f38b81..a7e97f3 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,9 @@ TWITTER_HANDLE = "myprofile" instead of summary; - Set ``SHOW_SITESUBTITLE_IN_HTML`` to True to make use of the ``SITESUBTITLE`` variable inside the ```` HTML tag; + - Set ``FACEBOOK_ADMINS`` to a list of Facebook account IDs which are + associated with this blog. For example ``['12345']``. For more info see + https://developers.facebook.com/docs/platforminsights/domains ### Articles diff --git a/templates/base.html b/templates/base.html index 7c41da0..b0f0929 100644 --- a/templates/base.html +++ b/templates/base.html @@ -75,6 +75,9 @@ {% endblock head %} {% block opengraph %} + {% for admin in FACEBOOK_ADMINS %} + <meta property="fb:admins" content="{{ admin }}" > + {% endfor %} {% for LOC in LOCALE %} <meta property="og:locale" content="{{ LOC }}"> {% endfor %}