Commit ec26d9da by Giulio Gratta Committed by Jason Bau

removing video from stanford index page

parent c1365ee1
...@@ -41,11 +41,18 @@ ...@@ -41,11 +41,18 @@
% endif % endif
</div> </div>
<a href="#video-modal" class="media" rel="leanModal">
<div class="hero"> % if self.stanford_theme_enabled():
<div class="play-intro"></div> <a href="http://online.stanford.edu" class="media" >
</div> <div class="hero"></div>
</a> </a>
% else:
<a href="#video-modal" class="media" rel="leanModal">
<div class="hero">
<div class="play-intro"></div>
</div>
</a>
% endif
</div> </div>
</header> </header>
...@@ -218,13 +225,12 @@ ...@@ -218,13 +225,12 @@
<section id="video-modal" class="modal home-page-video-modal video-modal"> <section id="video-modal" class="modal home-page-video-modal video-modal">
<div class="inner-wrapper"> <div class="inner-wrapper">
<% % if self.stanford_theme_enabled():
if self.stanford_theme_enabled():
youtube_video_id = "2gmreZObCY4" else:
else: <iframe width="640" height="360" src="http://www.youtube.com/embed/XNaiOGxWeto?showinfo=0" frameborder="0" allowfullscreen></iframe>
youtube_video_id = "XNaiOGxWeto" % endif
%>
<iframe width="640" height="360" src="http://www.youtube.com/embed/${youtube_video_id}?showinfo=0" frameborder="0" allowfullscreen></iframe>
</div> </div>
</section> </section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment