lineheight fix and line break filter
This commit is contained in:
parent
3484b75d8b
commit
dfe47e43a2
4 changed files with 16 additions and 3 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{% load custom_tags %}
|
||||
|
||||
<section class="promo-section {{instance.get_extra_classes}}" {% if instance.background_image %}style="background-image:url({{ instance.background_image.url }})"{% endif %}>
|
||||
<div class="container">
|
||||
{% if instance.heading %}
|
||||
<h3>{{instance.heading}}</h3>
|
||||
<h3>{{instance.heading|escaped_line_break|linebreaksbr}}</h3>
|
||||
{% endif %}
|
||||
{% if instance.subheading %}
|
||||
<h4>{{instance.subheading}}</h4>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue