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 }} |
{{ content.title }} |
||||||
</div> |
</div> |
||||||
<div> |
<div> |
||||||
<img src="{{ content.img.image.url }}" alt=""> |
<img class="content-block pic" src="{{ content.img.image.url }}" alt=""> |
||||||
</div> |
</div> |
||||||
@ -1,9 +1,9 @@ |
|||||||
<div> |
<div class="content-block title"> |
||||||
{{ content.title }} |
{{ content.title }} |
||||||
</div> |
</div> |
||||||
<div> |
<div class="content-block text"> |
||||||
{{ content.text }} |
{{ content.txt }} |
||||||
</div> |
</div> |
||||||
<div> |
<div> |
||||||
<img src="{{ content.img.image.url }}" alt=""> |
<img class="content-block pic" src="{{ content.img.image.url }}" alt=""> |
||||||
</div> |
</div> |
||||||
@ -1,6 +1,6 @@ |
|||||||
<div> |
<div class="content-block title"> |
||||||
{{ content.title }} |
{{ content.title }} |
||||||
</div> |
</div> |
||||||
<div> |
<div class="content-block text"> |
||||||
{{ content.txt }} |
{{ content.txt }} |
||||||
</div> |
</div> |
||||||
@ -1,14 +1,13 @@ |
|||||||
<div> |
<div class="content-block title"> |
||||||
{{ content.title }} |
{{ content.title }} |
||||||
</div> |
</div> |
||||||
<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" |
<iframe width="640" height="360" src="https://www.youtube.com/embed/{{ content.video_index }}" frameborder="0" allow="autoplay; encrypted-media" |
||||||
allowfullscreen></iframe> |
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 |
<iframe src="https://player.vimeo.com/video/{{ content.video_index }}" width="640" height="360" frameborder="0" webkitallowfullscreen |
||||||
mozallowfullscreen allowfullscreen> |
mozallowfullscreen allowfullscreen> |
||||||
</iframe> |
</iframe> |
||||||
|
|
||||||
{% endif %} |
{% endif %} |
||||||
</div> |
</div> |
||||||
Loading…
Reference in new issue