Don't check for hardcoded caminandes-3 url
We now have the header_video_file feature for it
This commit is contained in:
parent
76f2367e66
commit
ce6020702e
@ -21,13 +21,7 @@ script.
|
|||||||
|
|
||||||
#node-container
|
#node-container
|
||||||
section.node-preview.project
|
section.node-preview.project
|
||||||
| {% if project.url == 'caminandes-3' %}
|
| {% if header_video_file %}
|
||||||
iframe(
|
|
||||||
style="height: 490px",
|
|
||||||
src="https://www.youtube.com/embed/SkVqJ1SGeL0?rel=0&controls=0&showinfo=0",
|
|
||||||
frameborder="0",
|
|
||||||
allowfullscreen)
|
|
||||||
| {% elif header_video_file %}
|
|
||||||
#flowplayer_container.is-splash.play-button(
|
#flowplayer_container.is-splash.play-button(
|
||||||
style="{% if header_video_node.picture %}background-image:url({{header_video_node.picture.thumbnail('l', api=api)}}); background-repeat:no-repeat; {% endif %}")
|
style="{% if header_video_node.picture %}background-image:url({{header_video_node.picture.thumbnail('l', api=api)}}); background-repeat:no-repeat; {% endif %}")
|
||||||
.fp-startscreen.fp-toggle
|
.fp-startscreen.fp-toggle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user