Skip to content

Commit

Permalink
Merge branch 'main' into feature/FIND-81-docs-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
TNA-Allan committed Nov 25, 2024
2 parents 074fa93 + 5405ca4 commit 72b5387
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app/templates/records/record_detail.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{% extends 'base.html' %}

{%- set pageTitle = page_title -%}

{% block content %}
<div class="tna-section">
<div class="tna-container">
<div class="tna-column tna-column--width-2-3 tna-column--width-5-6-medium tna-column--full-small tna-column--full-tiny">
<h1 class="tna-heading-xl">{{ page_title }}</h1>
<h1 class="tna-heading-xl">{{ pageTitle }}</h1>
</div>
</div>
</div>
Expand Down
11 changes: 7 additions & 4 deletions config/settings/develop.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@

FORCE_HTTPS = strtobool(os.getenv("FORCE_HTTPS", "False"))

DJANGO_SERVE_STATIC = True
DJANGO_SERVE_STATIC = strtobool(os.getenv("DJANGO_SERVE_STATIC", "True"))

if not DEBUG and DJANGO_SERVE_STATIC:
STATICFILES_STORAGE = (
"django.contrib.staticfiles.storage.StaticFilesStorage"
)
STORAGES = {
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
}
}


if DEBUG:

Expand Down

0 comments on commit 72b5387

Please sign in to comment.