Don't check for hardcoded caminandes-3 url

We now have the header_video_file feature for it
This commit is contained in:
Pablo Vazquez 2016-11-11 15:37:41 +01:00
parent 76f2367e66
commit ce6020702e

View File

@ -21,13 +21,7 @@ script.
#node-container
section.node-preview.project
| {% if project.url == 'caminandes-3' %}
iframe(
style="height: 490px",
src="https://www.youtube.com/embed/SkVqJ1SGeL0?rel=0&controls=0&showinfo=0",
frameborder="0",
allowfullscreen)
| {% elif header_video_file %}
| {% if header_video_file %}
#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 %}")
.fp-startscreen.fp-toggle