Skip to content

Commit

Permalink
GH-70: Cleanup "Full Width" template
Browse files Browse the repository at this point in the history
- Remove cruft.
- Include custom assets via mini-template (added in d0e0417).
  • Loading branch information
wesleyboar committed Aug 30, 2021
1 parent d0e0417 commit fbf9bf6
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions protx-cms/templates/fullwidth.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{% extends "base.html" %}
{% load cms_tags staticfiles %}

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

{% block assets_font %}
{{ block.super }}
{% endblock assets_font %}

{% block content %}
{% placeholder "content" %}
{% endblock content %}
{% extends "fullwidth.html" %}
{% load cms_tags %}

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

<link rel="stylesheet" href="{% static 'protx-cms/css/build/site.css' %}">
{% include "./assets_custom.html" %}
{% endblock assets_custom %}

0 comments on commit fbf9bf6

Please sign in to comment.