parent
0bff92cbfa
commit
8e2448c5fc
4 changed files with 11 additions and 12 deletions
@ -1,6 +1,6 @@ |
||||
<div> |
||||
<div class="content-block title"> |
||||
{{ content.title }} |
||||
</div> |
||||
<div> |
||||
<img src="{{ content.img.image.url }}" alt=""> |
||||
<img class="content-block pic" src="{{ content.img.image.url }}" alt=""> |
||||
</div> |
||||
@ -1,9 +1,9 @@ |
||||
<div> |
||||
<div class="content-block title"> |
||||
{{ content.title }} |
||||
</div> |
||||
<div> |
||||
{{ content.text }} |
||||
<div class="content-block text"> |
||||
{{ content.txt }} |
||||
</div> |
||||
<div> |
||||
<img src="{{ content.img.image.url }}" alt=""> |
||||
<img class="content-block pic" src="{{ content.img.image.url }}" alt=""> |
||||
</div> |
||||
@ -1,6 +1,6 @@ |
||||
<div> |
||||
<div class="content-block title"> |
||||
{{ content.title }} |
||||
</div> |
||||
<div> |
||||
<div class="content-block text"> |
||||
{{ content.txt }} |
||||
</div> |
||||
@ -1,14 +1,13 @@ |
||||
<div> |
||||
<div class="content-block title"> |
||||
{{ content.title }} |
||||
</div> |
||||
<div> |
||||
{% if 'youtu' in content.url %} |
||||
{% if 'youtube.com' in content.url or 'youtu.be' in content.url %} |
||||
<iframe width="640" height="360" src="https://www.youtube.com/embed/{{ content.video_index }}" frameborder="0" allow="autoplay; encrypted-media" |
||||
allowfullscreen></iframe> |
||||
{% elif 'vimeo' in content.url %} |
||||
{% elif 'vimeo.com' in content.url %} |
||||
<iframe src="https://player.vimeo.com/video/{{ content.video_index }}" width="640" height="360" frameborder="0" webkitallowfullscreen |
||||
mozallowfullscreen allowfullscreen> |
||||
</iframe> |
||||
|
||||
{% endif %} |
||||
</div> |
||||
Loading…
Reference in new issue