Skip to content

Commit

Permalink
👌(layout) add template block around footer slogan
Browse files Browse the repository at this point in the history
We need a template block around footer slogan so projects can change
it or even disable it if needed.

This just update the base.html to put the slogan in a template block
"body_footer_title".
  • Loading branch information
sveetch committed Jun 17, 2020
1 parent a05cd14 commit 7f3224e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
- Change course detail content titles to neutral dark color.
- Customize CMS placeholder menu for more readability.
- Make login/logout CTA more visible.
- Add template block around footer slogan.

### Fixed

Expand Down
4 changes: 3 additions & 1 deletion src/richie/apps/core/templates/richie/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@
</a>
</div>
<div class="body-footer__insert">
<p class="body-footer__title">{% trans "Life-changing learning!" %}</p>
{% block body_footer_title %}
<p class="body-footer__title">{% trans "Life-changing learning!" %}</p>
{% endblock body_footer_title %}
{% language_chooser "menu/language_menu.html" %}
<div class="body-footer__badges">
{% include "social-networks/footer-badges.html" %}
Expand Down

0 comments on commit 7f3224e

Please sign in to comment.