parent
b0fd24d4c8
commit
0d11648ed8
5 changed files with 36 additions and 0 deletions
@ -0,0 +1 @@ |
|||||||
|
{{ content }} |
||||||
@ -0,0 +1,6 @@ |
|||||||
|
<div> |
||||||
|
{{ content.title }} |
||||||
|
</div> |
||||||
|
<div> |
||||||
|
<img src="{{ content.img.image.url }}" alt=""> |
||||||
|
</div> |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
<div> |
||||||
|
{{ content.title }} |
||||||
|
</div> |
||||||
|
<div> |
||||||
|
{{ content.text }} |
||||||
|
</div> |
||||||
|
<div> |
||||||
|
<img src="{{ content.img.image.url }}" alt=""> |
||||||
|
</div> |
||||||
@ -0,0 +1,6 @@ |
|||||||
|
<div> |
||||||
|
{{ content.title }} |
||||||
|
</div> |
||||||
|
<div> |
||||||
|
{{ content.txt }} |
||||||
|
</div> |
||||||
@ -0,0 +1,14 @@ |
|||||||
|
<div> |
||||||
|
{{ content.title }} |
||||||
|
</div> |
||||||
|
<div> |
||||||
|
{% if 'youtu' 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 %} |
||||||
|
<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