11328c7f6b
This adds some stuff to takeover the whole site with an embedded livestream. Our press goes out at 10am with links to this website embedded in releases, but we don't want to have folks see it until the keynote is concluded. Unsetting LIVESTREAM_ACTIVE and re-deploying will open it up. Also fixed a configuration option. You can test it out with: LIVESTREAM_ACTIVE=true bundle exec middleman server
25 lines
583 B
Plaintext
25 lines
583 B
Plaintext
<% if livestream_active? %>
|
|
<% content_for(:body_class, "livestream") %>
|
|
|
|
<%= partial "layouts/meta" %>
|
|
<div class="livestream-container">
|
|
<div class="livestream-video">
|
|
<iframe src="https://www.ustream.tv/embed/21243866?html5ui=1" id="live-stream-video" webkitallowfullscreen allowfullscreen frameborder="no"></iframe>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- closing tags from layouts/meta, keep this -->
|
|
</body>
|
|
</html>
|
|
|
|
<% else %>
|
|
|
|
<%= partial "layouts/meta" %>
|
|
<%= partial "layouts/header" %>
|
|
<%= partial "layouts/sidebar" %>
|
|
|
|
<%= yield %>
|
|
|
|
<%= partial "layouts/footer" %>
|
|
<% end %>
|