diff --git a/services/cms/blog/templates/blog/blog_page.html b/services/cms/blog/templates/blog/blog_page.html index 65b4152..b573abe 100644 --- a/services/cms/blog/templates/blog/blog_page.html +++ b/services/cms/blog/templates/blog/blog_page.html @@ -6,7 +6,7 @@ {% block content %} {% include 'header.html' %} -
+

{{ page.title }}

{{ page.date }}

{% if page.tags.all.count %} @@ -18,13 +18,25 @@ {% endif %} {{ page.body|richtext }} + {{ page.full_url }} - {% for item in page.gallery_images.all %} -
- {% image item.image fill-320x240 %} -

{{ item.caption }}

-
- {% endfor %}
+
+ + {% endblock %} \ No newline at end of file diff --git a/services/cms/cms/settings/base.py b/services/cms/cms/settings/base.py index ac5d375..36e48fa 100644 --- a/services/cms/cms/settings/base.py +++ b/services/cms/cms/settings/base.py @@ -16,7 +16,6 @@ import os PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(PROJECT_DIR) - # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/ @@ -80,7 +79,6 @@ TEMPLATES = [ WSGI_APPLICATION = "cms.wsgi.application" - # Database # https://docs.djangoproject.com/en/2.1/ref/settings/#databases @@ -104,7 +102,6 @@ AUTH_PASSWORD_VALIDATORS = [ {"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator"}, ] - # Internationalization # https://docs.djangoproject.com/en/2.1/topics/i18n/ @@ -118,7 +115,6 @@ USE_L10N = True USE_TZ = True - # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/2.1/howto/static-files/ @@ -140,7 +136,6 @@ STATIC_URL = "/static/" MEDIA_ROOT = os.path.join(BASE_DIR, "media") MEDIA_URL = "/media/" - # Wagtail settings WAGTAIL_SITE_NAME = "datasketch.io" @@ -148,3 +143,7 @@ WAGTAIL_SITE_NAME = "datasketch.io" # Base URL to use when referring to full URLs within the Wagtail admin backend - # e.g. in notification emails. Don't include '/admin' or a trailing slash BASE_URL = "https://datasketch.io" + +INTERNAL_IPS = [ + '127.0.0.1', +]