settings: added django-meta configuration.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
38a5ffa606
commit
9c5dd3c152
2 changed files with 9 additions and 0 deletions
|
@ -410,6 +410,14 @@ BLOG_POSTS_LIST_TRUNCWORDS_COUNT = 100
|
||||||
BLOG_MULTISITE = True
|
BLOG_MULTISITE = True
|
||||||
BLOG_AUTHOR_DEFAULT = True
|
BLOG_AUTHOR_DEFAULT = True
|
||||||
|
|
||||||
|
#django-meta
|
||||||
|
META_SITE_PROTOCOL = "https"
|
||||||
|
META_SITE_DOMAIN = "ungleich.ch"
|
||||||
|
META_SITE_TYPE = "website"
|
||||||
|
META_SITE_NAME = "ungleich"
|
||||||
|
META_INCLUDE_KEYWORDS = ["ungleich", "hosting", "switzerland", "Schweiz", "Swiss", "cdist"]
|
||||||
|
META_USE_SITES = True
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from .local.local_settings import *
|
from .local.local_settings import *
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
{% endaddtoblock %}
|
{% endaddtoblock %}
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="description" content="{% page_attribute 'meta_description' %}">
|
<meta name="description" content="{% page_attribute 'meta_description' %}">
|
||||||
|
{% include 'meta.html' %}
|
||||||
{% block meta %}
|
{% block meta %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% render_block "external-css" %}
|
{% render_block "external-css" %}
|
||||||
|
|
Loading…
Reference in a new issue