Add new setting - FACEBOOK_ADMINS
This commit is contained in:
parent
911b8ec25c
commit
779665773e
@ -119,6 +119,9 @@ TWITTER_HANDLE = "myprofile"
|
|||||||
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
|
||||||
|
|
||||||
|
@ -75,6 +75,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