Skip to content

Commit

Permalink
Merge branch 'main' into quick/support-plugins-unadulterated-by-boots…
Browse files Browse the repository at this point in the history
…trap--for-main
  • Loading branch information
wesleyboar committed Aug 31, 2021
2 parents 7c617af + 97f7df0 commit 9cf1e67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion taccsite_cms/default_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# For standard pages (has Container and Breadcrumbs)
('standard.html', 'Standard'),
# For content that spans full window width (no Container nor Breadcrumbs)
('fullwidth.html', 'Fullwidth'),
('fullwidth.html', 'Full Width'),

# Any project that needs per-project styles must have a custom template
# FAQ: This is a tedious solution until a cleaner solution is devised
Expand Down
15 changes: 1 addition & 14 deletions taccsite_cms/templates/fullwidth.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,7 @@

{% block title %}{% page_attribute "page_title" %}{% endblock title %}

{% block assets_custom %}
{{ block.super }}

<script>
console.info('Core `fullwidth.html` loads no custom assets');
</script>
{% endblock assets_custom %}

{# To remove container and breadcrumbs #}
{% block content %}
{% placeholder "content" %}
{% endblock content %}

{% block assets_custom_delayed %}
<script>
console.info('Core `fullwidth.html` loads no (delayed) custom assets');
</script>
{% endblock assets_custom_delayed %}

0 comments on commit 9cf1e67

Please sign in to comment.