From 9c5dd3c152d1a94167e400b3c08c74cdc4ddde30 Mon Sep 17 00:00:00 2001 From: rscnt Date: Tue, 16 Jun 2015 01:37:13 -0600 Subject: [PATCH] settings: added django-meta configuration. Signed-off-by: rscnt --- dynamicweb/settings.py | 8 ++++++++ templates/cms/ungleich.ch/base.html | 1 + 2 files changed, 9 insertions(+) diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index 6e290f91..42a3b114 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -410,6 +410,14 @@ BLOG_POSTS_LIST_TRUNCWORDS_COUNT = 100 BLOG_MULTISITE = 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: from .local.local_settings import * except ImportError as e: diff --git a/templates/cms/ungleich.ch/base.html b/templates/cms/ungleich.ch/base.html index 7ca00c3d..3bab1afe 100644 --- a/templates/cms/ungleich.ch/base.html +++ b/templates/cms/ungleich.ch/base.html @@ -29,6 +29,7 @@ {% endaddtoblock %} + {% include 'meta.html' %} {% block meta %} {% endblock %} {% render_block "external-css" %}