Skip to content

Commit

Permalink
GH-68: Frontera: 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 640952b).
  • Loading branch information
wesleyboar committed Aug 30, 2021
1 parent 8478c95 commit 1f313cc
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions frontera-cms/templates/fullwidth.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
{% 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 }}

<!-- To customize styles for this project -->
<link rel="stylesheet" href="{% static 'frontera-cms/css/build/site.css' %}">
<link rel="stylesheet" href="{% static 'frontera-cms/css/build/site.header.css' %}">
{% include "./assets_custom.html" %}

<!-- To style old CMS content on new CMS -->
<!-- NOTE: This should probably be loaded BEFORE "To customize styles …", but:
Expand Down

0 comments on commit 1f313cc

Please sign in to comment.