Merge pull request #37 from MrSenko/fb_admins
Add new setting - FACEBOOK_ADMINS
This commit is contained in:
commit
1716eecbdc
@ -112,6 +112,9 @@ Accept many analytics:
|
|||||||
instead of summary;
|
instead of summary;
|
||||||
- Set ``SHOW_SITESUBTITLE_IN_HTML`` to True to make use of the ``SITESUBTITLE``
|
- Set ``SHOW_SITESUBTITLE_IN_HTML`` to True to make use of the ``SITESUBTITLE``
|
||||||
variable inside the ``<title>`` HTML tag;
|
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
|
### Articles
|
||||||
|
|
||||||
|
@ -73,6 +73,9 @@
|
|||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
|
|
||||||
{% block opengraph %}
|
{% block opengraph %}
|
||||||
|
{% for admin in FACEBOOK_ADMINS %}
|
||||||
|
<meta property="fb:admins" content="{{ admin }}" >
|
||||||
|
{% endfor %}
|
||||||
{% for LOC in LOCALE %}
|
{% for LOC in LOCALE %}
|
||||||
<meta property="og:locale" content="{{ LOC }}">
|
<meta property="og:locale" content="{{ LOC }}">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user