Add new setting - FACEBOOK_ADMINS

This commit is contained in:
Mr. Senko 2016-03-31 22:41:26 +03:00
parent 911b8ec25c
commit 779665773e
2 changed files with 6 additions and 0 deletions

View File

@ -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 ``<title>`` 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

View File

@ -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 %}