Merge pull request #37 from MrSenko/fb_admins

Add new setting - FACEBOOK_ADMINS
This commit is contained in:
Gilson Filho 2016-04-07 14:39:09 -03:00
commit 1716eecbdc
2 changed files with 6 additions and 0 deletions

View File

@ -112,6 +112,9 @@ Accept many analytics:
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

@ -73,6 +73,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 %}