Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions taccsite_cms/settings_custom.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
('standard.html', 'Standard'),
('fullwidth.html', 'Full Width'),

# WARNING: Unintuitive, so only enable as needed e.g. TACC/Core-CMS#868
# ('plain.html', 'Plain'),
# WARNING: Unintuitive, so only enable as needed
# ('plain.html', 'Plain'), # TACC/Core-CMS#868
# ('content.html', 'Content Only'), # TACC/Core-CMS#___
)

########################
Expand Down
4 changes: 4 additions & 0 deletions taccsite_cms/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@
<body class="{% block page_type_class %}{% endblock page_type_class %}">
{% cms_toolbar %}

{% block header %}
<header>
{% include "header.html" %}
</header>
{% endblock header %}

<main id="cms-content">
{% block content %}
Expand All @@ -79,7 +81,9 @@
{% endblock content %}
</main>

{% block footer %}
{% include "footer.html" %}
{% endblock footer %}

<!-- Assets (Delayed). -->
{% if settings.TACC_CORE_STYLES_VERSION == 0 %}
Expand Down
8 changes: 8 additions & 0 deletions taccsite_cms/templates/content.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends "base.html" %}
{% load cms_tags %}

{% block header %}{% endblock %}

{% include 'plain.html' %}

{% block footer %}{% endblock %}