Revision c6fdba44 cloudcms/templates/content/section/block.html
b/cloudcms/templates/content/section/block.html | ||
---|---|---|
1 |
<section class="section"> |
|
2 | 1 |
{% if content.title %} |
3 | 2 |
<h2>{{ content.title }}</h2> |
4 | 3 |
{% endif %} |
5 | 4 |
{% if content.mediafile.type == "image" %} |
6 | 5 |
<img class="section-img" src="{{ content.mediafile.get_absolute_url }}" /> |
7 | 6 |
{% endif %} |
8 |
<p> |
|
7 |
|
|
9 | 8 |
{{ content.richtext|safe }} |
10 |
</p> |
|
11 |
</section> |
|
9 |
|
|
10 |
|
Also available in: Unified diff